From 34507f74a13040277ac1afebf3cf6ffbe31a4644 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 16 May 2013 13:25:27 +0200 Subject: [PATCH] (Libretro-test-gl) Build fix --- libretro-test-gl/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libretro-test-gl/Makefile b/libretro-test-gl/Makefile index 1f893839df..0873fba692 100644 --- a/libretro-test-gl/Makefile +++ b/libretro-test-gl/Makefile @@ -56,8 +56,14 @@ else CFLAGS += -O3 endif +ifeq ($(platform), qnx) +CFLAGS += -Wc,-std=gnu99 +else +CFLAGS += -std=gnu99 +endif + OBJECTS := libretro-test.o -CFLAGS += -Wc,-std=gnu99 -Wall -pedantic $(fpic) +CFLAGS += -Wall -pedantic $(fpic) ifeq ($(GLES), 1) CFLAGS += -DGLES