aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/makefile
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-12-29 09:37:46 +1100
committerNeil <nyamatongwe@gmail.com>2019-12-29 09:37:46 +1100
commit81f48e85bb01d5f7b1964b8db44c1a98016e8db9 (patch)
tree1832de753c1c1517af187f3b38b2af9b1251303e /win32/makefile
parent72b3755e044bae772188ec28da218309beddc526 (diff)
downloadscintilla-mirror-81f48e85bb01d5f7b1964b8db44c1a98016e8db9.tar.gz
Remove MinGW linker options that do not appear needed with Mingw-w64 GCC 9.
add-stdcall-alias was added by revision 1106 in 2002 enable-runtime-pseudo-reloc-v2 was added by revision 3371 in 2010
Diffstat (limited to 'win32/makefile')
-rw-r--r--win32/makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/win32/makefile b/win32/makefile
index 7b25b250f..3fb3311ef 100644
--- a/win32/makefile
+++ b/win32/makefile
@@ -21,7 +21,6 @@ CXX = clang++
CLANG_OPTS = -Wno-missing-braces -Wno-language-extension-token -Xclang -flto-visibility-public-std
else
# MinGW GCC
-LDMINGW = -Wl,--enable-runtime-pseudo-reloc-v2 -Wl,--add-stdcall-alias
LIBSMINGW = -lstdc++
STRIPOPTION = -s
endif
@@ -39,7 +38,7 @@ WINDRES ?= windres
vpath %.h ../src ../include ../lexlib
vpath %.cxx ../src ../lexlib ../lexers
-LDFLAGS=-shared -static -mwindows $(LDMINGW)
+LDFLAGS=-shared -static -mwindows
LIBS=-lgdi32 -luser32 -limm32 -lole32 -luuid -loleaut32 -lmsimg32 $(LIBSMINGW)
# Add -MMD to get dependencies
INCLUDEDIRS=-I ../include -I ../src -I../lexlib