Skip to content

Commit dfa7d5a

Browse files
committed
fixup! DEBUG
This was a commit not intended for `master`. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 71c3301 commit dfa7d5a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ GIT-VERSION-FILE: FORCE
377377

378378
# CFLAGS and LDFLAGS are for the users to override from the command line.
379379

380-
CFLAGS = -g -Wall
380+
CFLAGS = -g -O2 -Wall
381381
LDFLAGS =
382382
ALL_CFLAGS = $(CPPFLAGS) $(CFLAGS)
383383
ALL_LDFLAGS = $(LDFLAGS)

config.mak.uname

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,8 @@ else
545545
prefix = /usr/
546546
# Enable DEP
547547
BASIC_LDFLAGS += -Wl,--nxcompat
548+
# Enable ASLR
549+
BASIC_LDFLAGS += -Wl,--dynamicbase
548550
ifeq (MINGW32,$(MSYSTEM))
549551
prefix = /mingw32
550552
BASIC_LDFLAGS += -Wl,--pic-executable,-e,_mainCRTStartup

0 commit comments

Comments
 (0)