We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4807fb commit 1a7ca5aCopy full SHA for 1a7ca5a
src/project.conf
@@ -1,8 +1,8 @@
1
targets=libcpp,cpp
2
cppflags_force=-I ../include
3
cppflags=
4
-cflags_force=-W `pkg-config --cflags libSystem`
5
-cflags=-Wall -g -O2 -pedantic
+cflags_force=`pkg-config --cflags libSystem`
+cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all
6
ldflags_force=`pkg-config --libs libSystem`
7
ldflags=
8
dist=Makefile,common.h,parser.h
@@ -26,6 +26,7 @@ depends=common.h,../include/CPP.h
26
type=binary
27
sources=main.c
28
depends=$(OBJDIR)libcpp.so
29
+cflags=-fPIE
30
ldflags=-L$(OBJDIR). -L$(LIBDIR) -Wl,-rpath,$(LIBDIR) -lcpp
31
install=$(BINDIR)
32
0 commit comments