< prev index next >

modules/javafx.media/src/main/native/gstreamer/projects/linux/gstreamer-lite/Makefile

Print this page

        

@@ -39,10 +39,11 @@
 
 CFLAGS =-fPIC                   \
         -Wformat                \
         -Wextra                 \
         -Wformat-security       \
+        -fstack-protector       \
         -Werror=implicit-function-declaration \
         -D_GNU_SOURCE           \
         -DGST_REMOVE_DEPRECATED \
         -DGSTREAMER_LITE        \
         -DHAVE_CONFIG_H         \

@@ -73,10 +74,11 @@
 
 PACKAGES_INCLUDES := $(shell pkg-config --cflags alsa glib-2.0)
 PACKAGES_LIBS := $(shell pkg-config --libs alsa glib-2.0 gobject-2.0 gmodule-2.0 gthread-2.0)
 
 LDFLAGS = -L$(BUILD_DIR) -lm $(PACKAGES_LIBS) \
+          -z relro \
           -static-libgcc -static-libstdc++ -Wl,--gc-sections
 
 ifeq ($(ARCH), x32)
     CFLAGS += -m32
     LDFLAGS += -m32
< prev index next >