diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-07-29 22:57:16 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-07-29 22:57:16 +0400 |
commit | 7e20c854cf76466058300e0e9b0a77a7354c7408 (patch) | |
tree | f15f8473a6f450f3dfe7602ca42dc87f20ba132e /winsup/lsaauth/Makefile.in | |
parent | 033fe7d87f571555894c8d92a2c1f25c58c04c52 (diff) |
* Makefile.in (cyglsa.dll): Explicitely specify DLL entry point to
harden against gcc function and block reordering optimizations.
(cyglsa64.dll): Ditto.
Diffstat (limited to 'winsup/lsaauth/Makefile.in')
-rw-r--r-- | winsup/lsaauth/Makefile.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/lsaauth/Makefile.in b/winsup/lsaauth/Makefile.in index 162e5aa0c..53e91c406 100644 --- a/winsup/lsaauth/Makefile.in +++ b/winsup/lsaauth/Makefile.in @@ -67,13 +67,13 @@ $(DEF32): cyglsa.din config.status $(SHELL) config.status $(DLL32): $(OBJ32) $(DEF32) - $(MINGW32_CC) -s $(WIN32_LDFLAGS) -o $@ $^ $(LIBS) + $(MINGW32_CC) -s $(WIN32_LDFLAGS) -e _DllMain@12 -o $@ $^ $(LIBS) $(OBJ32): cyglsa.c $(MINGW32_CC) $(WIN32_CFLAGS) -c -o $@ $< $(DLL64): $(OBJ64) $(DEF64) - $(MINGW64_CC) -s $(WIN32_LDFLAGS) -o $@ $^ $(LIBS) + $(MINGW64_CC) -s $(WIN32_LDFLAGS) -e DllMain -o $@ $^ $(LIBS) $(OBJ64): cyglsa.c $(MINGW64_CC) $(WIN32_CFLAGS) -c -o $@ $< |