Skip to content

Commit

Permalink
Enable ASLR and DEP in Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Luís Câmara committed Nov 3, 2017
1 parent e14fbab commit 2a260de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.win32x86/common/Makefile.tools
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ LD:= $(CC)
LDCXX := $(TOOLPREFIX)clang++ # For linking c++ bundles

EXPORT:=--export-all-symbols
BASELDFLAGS:=-m32 -mthreads -Wl,--large-address-aware,$(EXPORT)
BASELDFLAGS:=-m32 -mthreads -Wl,--large-address-aware,--dynamicbase,--nxcompat,$(EXPORT)
LDFLAGS:= -mwindows $(BASELDFLAGS)
CONSOLELDFLAGS:= -mconsole $(BASELDFLAGS)
STDLIBS:= -lddraw -ldinput -lopengl32 -lws2_32 -lcomdlg32 -lole32 -lwinmm \
Expand Down

0 comments on commit 2a260de

Please sign in to comment.