summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0cfa407..7498a7d 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,10 @@
OFLAGS = -O0 -g
OFLAGS = -O2
CFLAGS = -std=gnu99 -fPIC -Wall -Wno-format-truncation $(OFLAGS)
+ifeq ($(__TIZEN__),true)
+CFLAGS += -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong
+LDFLAGS = -Wl,-z,relro
+endif
SHELL = /bin/sh
TAR = tar