Add --strip-all to LDFLAGS
This commit is contained in:
parent
c34af5592b
commit
423b3e1183
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
|||||||
CPPFLAGS = -D_DEFAULT_SOURCE -D_FOTIFY_SOURCE=2
|
CPPFLAGS = -D_DEFAULT_SOURCE -D_FOTIFY_SOURCE=2
|
||||||
CFLAGS = $(CPPFLAGS) -std=c99 -pedantic -Wall -Wextra -O2 -fstack-protector -flto -fPIE -pipe
|
CFLAGS = $(CPPFLAGS) -std=c99 -pedantic -Wall -Wextra -O2 -fstack-protector -flto -fPIE -pipe
|
||||||
LDFLAGS = -Wl,-z,relro,-z,now,-O2 -lSDL2 -lSDL2_mixer -flto -pie
|
LDFLAGS = -Wl,-z,relro,-z,now,-O2,--strip-all -lSDL2 -lSDL2_mixer -flto -pie
|
||||||
|
|
||||||
default: bin obj bin/chip8
|
default: bin obj bin/chip8
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user