Description: missing CPPFLAGS, fix hardening-no-fortify-functions.
Index: RetroArch-1.3.6/Makefile
===================================================================
--- RetroArch-1.3.6.orig/Makefile	2016-07-16 20:05:18.000000000 -0300
+++ RetroArch-1.3.6/Makefile	2016-07-19 22:03:28.225302647 -0300
@@ -136,12 +136,12 @@
 $(OBJDIR)/%.o: %.c config.h config.mk
 	@mkdir -p $(dir $@)
 	@$(if $(Q), $(shell echo echo CC $<),)
-	$(Q)$(CC) $(CFLAGS) $(DEFINES) -MMD -c -o $@ $<
+	$(Q)$(CC) $(CPPFLAGS) $(CFLAGS) $(DEFINES) -MMD -c -o $@ $<
 
 $(OBJDIR)/%.o: %.cpp config.h config.mk
 	@mkdir -p $(dir $@)
 	@$(if $(Q), $(shell echo echo CXX $<),)
-	$(Q)$(CXX) $(CXXFLAGS) $(DEFINES) -MMD -c -o $@ $<
+	$(Q)$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(DEFINES) -MMD -c -o $@ $<
 
 $(OBJDIR)/%.o: %.m
 	@mkdir -p $(dir $@)
Index: RetroArch-1.3.6/audio/audio_filters/Makefile
===================================================================
--- RetroArch-1.3.6.orig/audio/audio_filters/Makefile	2016-07-16 20:05:18.000000000 -0300
+++ RetroArch-1.3.6/audio/audio_filters/Makefile	2016-07-19 22:07:29.184787633 -0300
@@ -57,7 +57,7 @@
 
 CC      := $(compiler) -Wall
 CXX     := $(subst CC,++,$(compiler)) -std=gnu++0x -Wall
-flags   := $(CFLAGS) -fPIC $(extra_flags) -I../../libretro-common/include
+flags   := $(CPPFLAGS) $(CFLAGS) -fPIC $(extra_flags) -I../../libretro-common/include
 asflags := $(ASFLAGS) -fPIC  $(extra_flags)
 objects :=
 
Index: RetroArch-1.3.6/gfx/video_filters/Makefile
===================================================================
--- RetroArch-1.3.6.orig/gfx/video_filters/Makefile	2016-07-16 20:05:18.000000000 -0300
+++ RetroArch-1.3.6/gfx/video_filters/Makefile	2016-07-19 22:08:48.525934857 -0300
@@ -57,7 +57,7 @@
 
 CC      := $(compiler)
 CXX     := $(subst CC,++,$(compiler))
-flags   := $(CFLAGS) -fPIC $(extra_flags) -I../../libretro-common/include
+flags   := $(CPPFLAGS) $(CFLAGS) -fPIC $(extra_flags) -I../../libretro-common/include
 asflags := $(ASFLAGS) -fPIC  $(extra_flags)
 objects :=
 flags   += -std=c99
