Skip to content

Commit 140a99b

Browse files
committed
Merged revision(s) 22879 from trunk/OpenMPT:
[Fix] build: Makefile: GCC: Fix typo in linker option --no-undefined. [Fix] build: Makefile: Clang: Fix typo in linker option --no-undefined. ........ git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.31@22880 56274372-70c3-4bfc-bfc3-4c3a0b034d27
1 parent f440c13 commit 140a99b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/make/warnings-clang.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ endif
1818
ifeq ($(MODERN),1)
1919
CXXFLAGS_WARNINGS +=
2020
CFLAGS_WARNINGS +=
21-
LDFLAGS_WARNINGS += -Wl,-no-undefined
21+
LDFLAGS_WARNINGS += -Wl,--no-undefined
2222
endif
2323

2424
CFLAGS_SILENT += -Wno-\#warnings

build/make/warnings-gcc.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ifeq ($(MODERN),1)
88
CFLAGS_WARNINGS += -Wframe-larger-than=4000
99
#CXXFLAGS_WARNINGS += -Wshadow -Wswitch-enum
1010
# gold
11-
LDFLAGS_WARNINGS += -Wl,-no-undefined -Wl,--detect-odr-violations
11+
LDFLAGS_WARNINGS += -Wl,--no-undefined -Wl,--detect-odr-violations
1212
# GCC 8
1313
CXXFLAGS_WARNINGS += -Wcast-align=strict
1414
CFLAGS_WARNINGS += -Wcast-align=strict

0 commit comments

Comments
 (0)