From 982e013a30b6635456887cf6c646f0205cd93ce3 Mon Sep 17 00:00:00 2001 From: Maschell Date: Thu, 14 Jun 2018 12:44:56 +0200 Subject: [PATCH] Fixed compiling on devkitppc r31 --- ide_templates/codeblocks/Makefile | 2 +- plugins/example_plugin/Makefile | 2 +- plugins/hid_to_vpad/Makefile | 4 ++-- plugins/memory_info/Makefile | 2 +- plugins/nnu_patcher/Makefile | 2 +- plugins/overlay/Makefile | 2 +- plugins/padcon/Makefile | 2 +- plugins/screenshot/Makefile | 2 +- plugins/sdcafiine/Makefile | 2 +- plugins/swipswapme/Makefile | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/ide_templates/codeblocks/Makefile b/ide_templates/codeblocks/Makefile index 09c3f4b..335d161 100644 --- a/ide_templates/codeblocks/Makefile +++ b/ide_templates/codeblocks/Makefile @@ -68,7 +68,7 @@ COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-fl # -x c: compile as c code # -std=c11: use the c11 standard -CFLAGS += $(COMMON_CFLAGS) -x c -std=c11 +CFLAGS += $(COMMON_CFLAGS) -x c -std=gnu11 # -x c: compile as c++ code # -std=gnu++11: use the c++11 standard diff --git a/plugins/example_plugin/Makefile b/plugins/example_plugin/Makefile index 09c3f4b..335d161 100644 --- a/plugins/example_plugin/Makefile +++ b/plugins/example_plugin/Makefile @@ -68,7 +68,7 @@ COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-fl # -x c: compile as c code # -std=c11: use the c11 standard -CFLAGS += $(COMMON_CFLAGS) -x c -std=c11 +CFLAGS += $(COMMON_CFLAGS) -x c -std=gnu11 # -x c: compile as c++ code # -std=gnu++11: use the c++11 standard diff --git a/plugins/hid_to_vpad/Makefile b/plugins/hid_to_vpad/Makefile index 09c3f4b..d593ba2 100644 --- a/plugins/hid_to_vpad/Makefile +++ b/plugins/hid_to_vpad/Makefile @@ -67,8 +67,8 @@ COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-fl # -x c: compile as c code -# -std=c11: use the c11 standard -CFLAGS += $(COMMON_CFLAGS) -x c -std=c11 +# -std=gnu11: use the gnu11 standard +CFLAGS += $(COMMON_CFLAGS) -x c -std=gnu11 # -x c: compile as c++ code # -std=gnu++11: use the c++11 standard diff --git a/plugins/memory_info/Makefile b/plugins/memory_info/Makefile index 09c3f4b..335d161 100644 --- a/plugins/memory_info/Makefile +++ b/plugins/memory_info/Makefile @@ -68,7 +68,7 @@ COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-fl # -x c: compile as c code # -std=c11: use the c11 standard -CFLAGS += $(COMMON_CFLAGS) -x c -std=c11 +CFLAGS += $(COMMON_CFLAGS) -x c -std=gnu11 # -x c: compile as c++ code # -std=gnu++11: use the c++11 standard diff --git a/plugins/nnu_patcher/Makefile b/plugins/nnu_patcher/Makefile index 09c3f4b..335d161 100644 --- a/plugins/nnu_patcher/Makefile +++ b/plugins/nnu_patcher/Makefile @@ -68,7 +68,7 @@ COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-fl # -x c: compile as c code # -std=c11: use the c11 standard -CFLAGS += $(COMMON_CFLAGS) -x c -std=c11 +CFLAGS += $(COMMON_CFLAGS) -x c -std=gnu11 # -x c: compile as c++ code # -std=gnu++11: use the c++11 standard diff --git a/plugins/overlay/Makefile b/plugins/overlay/Makefile index 09c3f4b..335d161 100644 --- a/plugins/overlay/Makefile +++ b/plugins/overlay/Makefile @@ -68,7 +68,7 @@ COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-fl # -x c: compile as c code # -std=c11: use the c11 standard -CFLAGS += $(COMMON_CFLAGS) -x c -std=c11 +CFLAGS += $(COMMON_CFLAGS) -x c -std=gnu11 # -x c: compile as c++ code # -std=gnu++11: use the c++11 standard diff --git a/plugins/padcon/Makefile b/plugins/padcon/Makefile index 09c3f4b..335d161 100644 --- a/plugins/padcon/Makefile +++ b/plugins/padcon/Makefile @@ -68,7 +68,7 @@ COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-fl # -x c: compile as c code # -std=c11: use the c11 standard -CFLAGS += $(COMMON_CFLAGS) -x c -std=c11 +CFLAGS += $(COMMON_CFLAGS) -x c -std=gnu11 # -x c: compile as c++ code # -std=gnu++11: use the c++11 standard diff --git a/plugins/screenshot/Makefile b/plugins/screenshot/Makefile index 09c3f4b..335d161 100644 --- a/plugins/screenshot/Makefile +++ b/plugins/screenshot/Makefile @@ -68,7 +68,7 @@ COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-fl # -x c: compile as c code # -std=c11: use the c11 standard -CFLAGS += $(COMMON_CFLAGS) -x c -std=c11 +CFLAGS += $(COMMON_CFLAGS) -x c -std=gnu11 # -x c: compile as c++ code # -std=gnu++11: use the c++11 standard diff --git a/plugins/sdcafiine/Makefile b/plugins/sdcafiine/Makefile index 09c3f4b..335d161 100644 --- a/plugins/sdcafiine/Makefile +++ b/plugins/sdcafiine/Makefile @@ -68,7 +68,7 @@ COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-fl # -x c: compile as c code # -std=c11: use the c11 standard -CFLAGS += $(COMMON_CFLAGS) -x c -std=c11 +CFLAGS += $(COMMON_CFLAGS) -x c -std=gnu11 # -x c: compile as c++ code # -std=gnu++11: use the c++11 standard diff --git a/plugins/swipswapme/Makefile b/plugins/swipswapme/Makefile index 09c3f4b..335d161 100644 --- a/plugins/swipswapme/Makefile +++ b/plugins/swipswapme/Makefile @@ -68,7 +68,7 @@ COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-fl # -x c: compile as c code # -std=c11: use the c11 standard -CFLAGS += $(COMMON_CFLAGS) -x c -std=c11 +CFLAGS += $(COMMON_CFLAGS) -x c -std=gnu11 # -x c: compile as c++ code # -std=gnu++11: use the c++11 standard