mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-11-16 15:49:23 +01:00
Add missing compiler flags that may be required for WUT libraries
This commit is contained in:
parent
0d46322cbb
commit
a4b503c375
@ -66,7 +66,7 @@ include $(WUPSDIR)/plugin_makefile.mk
|
|||||||
# -memb: enable embedded application specific compilation
|
# -memb: enable embedded application specific compilation
|
||||||
# -ffunction-sections: split up functions so linker can garbage collect
|
# -ffunction-sections: split up functions so linker can garbage collect
|
||||||
# -fdata-sections: split up data so linker can garbage collect
|
# -fdata-sections: split up data so linker can garbage collect
|
||||||
COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-float -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
|
COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -D__WIIU__ -mrvl -mcpu=750 -meabi -mhard-float -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
|
||||||
|
|
||||||
|
|
||||||
# -x c: compile as c code
|
# -x c: compile as c code
|
||||||
@ -82,6 +82,11 @@ ifeq ($(DO_LOGGING), 1)
|
|||||||
CXXFLAGS += -D__LOGGING__
|
CXXFLAGS += -D__LOGGING__
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(USE_WUT), 1)
|
||||||
|
CFLAGS += -D__WUT__
|
||||||
|
CXXFLAGS += -D__WUT__
|
||||||
|
endif
|
||||||
|
|
||||||
ASFLAGS +=
|
ASFLAGS +=
|
||||||
|
|
||||||
LDFLAG_COMMON +=
|
LDFLAG_COMMON +=
|
||||||
|
@ -4,6 +4,9 @@ DO_LOGGING := 1
|
|||||||
# Non WUT plugins need to wrap the malloc functions.
|
# Non WUT plugins need to wrap the malloc functions.
|
||||||
WRAP_MALLOC := 1
|
WRAP_MALLOC := 1
|
||||||
|
|
||||||
|
# Sets the "-D__WUT__" compiling flag
|
||||||
|
USE_WUT := 0
|
||||||
|
|
||||||
# Target filename
|
# Target filename
|
||||||
TARGET := $(notdir $(CURDIR)).mod
|
TARGET := $(notdir $(CURDIR)).mod
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ include $(WUPSDIR)/plugin_makefile.mk
|
|||||||
# -memb: enable embedded application specific compilation
|
# -memb: enable embedded application specific compilation
|
||||||
# -ffunction-sections: split up functions so linker can garbage collect
|
# -ffunction-sections: split up functions so linker can garbage collect
|
||||||
# -fdata-sections: split up data so linker can garbage collect
|
# -fdata-sections: split up data so linker can garbage collect
|
||||||
COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-float -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
|
COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -D__WIIU__ -mrvl -mcpu=750 -meabi -mhard-float -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
|
||||||
|
|
||||||
|
|
||||||
# -x c: compile as c code
|
# -x c: compile as c code
|
||||||
@ -82,6 +82,11 @@ ifeq ($(DO_LOGGING), 1)
|
|||||||
CXXFLAGS += -D__LOGGING__
|
CXXFLAGS += -D__LOGGING__
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(USE_WUT), 1)
|
||||||
|
CFLAGS += -D__WUT__
|
||||||
|
CXXFLAGS += -D__WUT__
|
||||||
|
endif
|
||||||
|
|
||||||
ASFLAGS +=
|
ASFLAGS +=
|
||||||
|
|
||||||
LDFLAG_COMMON +=
|
LDFLAG_COMMON +=
|
||||||
|
@ -4,6 +4,9 @@ DO_LOGGING := 1
|
|||||||
# Non WUT plugins need to wrap the malloc functions.
|
# Non WUT plugins need to wrap the malloc functions.
|
||||||
WRAP_MALLOC := 0
|
WRAP_MALLOC := 0
|
||||||
|
|
||||||
|
# Sets the "-D__WUT__" compiling flag
|
||||||
|
USE_WUT := 1
|
||||||
|
|
||||||
# Target filename
|
# Target filename
|
||||||
TARGET := $(notdir $(CURDIR)).mod
|
TARGET := $(notdir $(CURDIR)).mod
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ include $(WUPSDIR)/plugin_makefile.mk
|
|||||||
# -memb: enable embedded application specific compilation
|
# -memb: enable embedded application specific compilation
|
||||||
# -ffunction-sections: split up functions so linker can garbage collect
|
# -ffunction-sections: split up functions so linker can garbage collect
|
||||||
# -fdata-sections: split up data so linker can garbage collect
|
# -fdata-sections: split up data so linker can garbage collect
|
||||||
COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-float -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
|
COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -D__WIIU__ -mrvl -mcpu=750 -meabi -mhard-float -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
|
||||||
|
|
||||||
|
|
||||||
# -x c: compile as c code
|
# -x c: compile as c code
|
||||||
@ -82,6 +82,11 @@ ifeq ($(DO_LOGGING), 1)
|
|||||||
CXXFLAGS += -D__LOGGING__
|
CXXFLAGS += -D__LOGGING__
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(USE_WUT), 1)
|
||||||
|
CFLAGS += -D__WUT__
|
||||||
|
CXXFLAGS += -D__WUT__
|
||||||
|
endif
|
||||||
|
|
||||||
ASFLAGS +=
|
ASFLAGS +=
|
||||||
|
|
||||||
LDFLAG_COMMON +=
|
LDFLAG_COMMON +=
|
||||||
|
@ -4,6 +4,9 @@ DO_LOGGING := 1
|
|||||||
# Non WUT plugins need to wrap the malloc functions.
|
# Non WUT plugins need to wrap the malloc functions.
|
||||||
WRAP_MALLOC := 1
|
WRAP_MALLOC := 1
|
||||||
|
|
||||||
|
# Sets the "-D__WUT__" compiling flag
|
||||||
|
USE_WUT := 0
|
||||||
|
|
||||||
# Target filename
|
# Target filename
|
||||||
TARGET := $(notdir $(CURDIR)).mod
|
TARGET := $(notdir $(CURDIR)).mod
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ include $(WUPSDIR)/plugin_makefile.mk
|
|||||||
# -memb: enable embedded application specific compilation
|
# -memb: enable embedded application specific compilation
|
||||||
# -ffunction-sections: split up functions so linker can garbage collect
|
# -ffunction-sections: split up functions so linker can garbage collect
|
||||||
# -fdata-sections: split up data so linker can garbage collect
|
# -fdata-sections: split up data so linker can garbage collect
|
||||||
COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-float -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
|
COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -D__WIIU__ -mrvl -mcpu=750 -meabi -mhard-float -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
|
||||||
|
|
||||||
|
|
||||||
# -x c: compile as c code
|
# -x c: compile as c code
|
||||||
@ -82,6 +82,11 @@ ifeq ($(DO_LOGGING), 1)
|
|||||||
CXXFLAGS += -D__LOGGING__
|
CXXFLAGS += -D__LOGGING__
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(USE_WUT), 1)
|
||||||
|
CFLAGS += -D__WUT__
|
||||||
|
CXXFLAGS += -D__WUT__
|
||||||
|
endif
|
||||||
|
|
||||||
ASFLAGS +=
|
ASFLAGS +=
|
||||||
|
|
||||||
LDFLAG_COMMON +=
|
LDFLAG_COMMON +=
|
||||||
|
@ -4,6 +4,9 @@ DO_LOGGING := 1
|
|||||||
# Non WUT plugins need to wrap the malloc functions.
|
# Non WUT plugins need to wrap the malloc functions.
|
||||||
WRAP_MALLOC := 1
|
WRAP_MALLOC := 1
|
||||||
|
|
||||||
|
# Sets the "-D__WUT__" compiling flag
|
||||||
|
USE_WUT := 0
|
||||||
|
|
||||||
# Target filename
|
# Target filename
|
||||||
TARGET := $(notdir $(CURDIR)).mod
|
TARGET := $(notdir $(CURDIR)).mod
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ include $(WUPSDIR)/plugin_makefile.mk
|
|||||||
# -memb: enable embedded application specific compilation
|
# -memb: enable embedded application specific compilation
|
||||||
# -ffunction-sections: split up functions so linker can garbage collect
|
# -ffunction-sections: split up functions so linker can garbage collect
|
||||||
# -fdata-sections: split up data so linker can garbage collect
|
# -fdata-sections: split up data so linker can garbage collect
|
||||||
COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-float -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
|
COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -D__WIIU__ -mrvl -mcpu=750 -meabi -mhard-float -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
|
||||||
|
|
||||||
|
|
||||||
# -x c: compile as c code
|
# -x c: compile as c code
|
||||||
@ -82,6 +82,11 @@ ifeq ($(DO_LOGGING), 1)
|
|||||||
CXXFLAGS += -D__LOGGING__
|
CXXFLAGS += -D__LOGGING__
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(USE_WUT), 1)
|
||||||
|
CFLAGS += -D__WUT__
|
||||||
|
CXXFLAGS += -D__WUT__
|
||||||
|
endif
|
||||||
|
|
||||||
ASFLAGS +=
|
ASFLAGS +=
|
||||||
|
|
||||||
LDFLAG_COMMON +=
|
LDFLAG_COMMON +=
|
||||||
|
@ -4,6 +4,9 @@ DO_LOGGING := 1
|
|||||||
# Non WUT plugins need to wrap the malloc functions.
|
# Non WUT plugins need to wrap the malloc functions.
|
||||||
WRAP_MALLOC := 1
|
WRAP_MALLOC := 1
|
||||||
|
|
||||||
|
# Sets the "-D__WUT__" compiling flag
|
||||||
|
USE_WUT := 0
|
||||||
|
|
||||||
# Target filename
|
# Target filename
|
||||||
TARGET := $(notdir $(CURDIR)).mod
|
TARGET := $(notdir $(CURDIR)).mod
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ include $(WUPSDIR)/plugin_makefile.mk
|
|||||||
# -memb: enable embedded application specific compilation
|
# -memb: enable embedded application specific compilation
|
||||||
# -ffunction-sections: split up functions so linker can garbage collect
|
# -ffunction-sections: split up functions so linker can garbage collect
|
||||||
# -fdata-sections: split up data so linker can garbage collect
|
# -fdata-sections: split up data so linker can garbage collect
|
||||||
COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-float -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
|
COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -D__WIIU__ -mrvl -mcpu=750 -meabi -mhard-float -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
|
||||||
|
|
||||||
|
|
||||||
# -x c: compile as c code
|
# -x c: compile as c code
|
||||||
@ -82,6 +82,11 @@ ifeq ($(DO_LOGGING), 1)
|
|||||||
CXXFLAGS += -D__LOGGING__
|
CXXFLAGS += -D__LOGGING__
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(USE_WUT), 1)
|
||||||
|
CFLAGS += -D__WUT__
|
||||||
|
CXXFLAGS += -D__WUT__
|
||||||
|
endif
|
||||||
|
|
||||||
ASFLAGS +=
|
ASFLAGS +=
|
||||||
|
|
||||||
LDFLAG_COMMON +=
|
LDFLAG_COMMON +=
|
||||||
|
@ -4,6 +4,9 @@ DO_LOGGING := 1
|
|||||||
# Non WUT plugins need to wrap the malloc functions.
|
# Non WUT plugins need to wrap the malloc functions.
|
||||||
WRAP_MALLOC := 1
|
WRAP_MALLOC := 1
|
||||||
|
|
||||||
|
# Sets the "-D__WUT__" compiling flag
|
||||||
|
USE_WUT := 0
|
||||||
|
|
||||||
# Target filename
|
# Target filename
|
||||||
TARGET := $(notdir $(CURDIR)).mod
|
TARGET := $(notdir $(CURDIR)).mod
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ include $(WUPSDIR)/plugin_makefile.mk
|
|||||||
# -memb: enable embedded application specific compilation
|
# -memb: enable embedded application specific compilation
|
||||||
# -ffunction-sections: split up functions so linker can garbage collect
|
# -ffunction-sections: split up functions so linker can garbage collect
|
||||||
# -fdata-sections: split up data so linker can garbage collect
|
# -fdata-sections: split up data so linker can garbage collect
|
||||||
COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-float -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
|
COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -D__WIIU__ -mrvl -mcpu=750 -meabi -mhard-float -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
|
||||||
|
|
||||||
|
|
||||||
# -x c: compile as c code
|
# -x c: compile as c code
|
||||||
@ -82,6 +82,11 @@ ifeq ($(DO_LOGGING), 1)
|
|||||||
CXXFLAGS += -D__LOGGING__
|
CXXFLAGS += -D__LOGGING__
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(USE_WUT), 1)
|
||||||
|
CFLAGS += -D__WUT__
|
||||||
|
CXXFLAGS += -D__WUT__
|
||||||
|
endif
|
||||||
|
|
||||||
ASFLAGS +=
|
ASFLAGS +=
|
||||||
|
|
||||||
LDFLAG_COMMON +=
|
LDFLAG_COMMON +=
|
||||||
|
@ -4,6 +4,9 @@ DO_LOGGING := 1
|
|||||||
# Non WUT plugins need to wrap the malloc functions.
|
# Non WUT plugins need to wrap the malloc functions.
|
||||||
WRAP_MALLOC := 1
|
WRAP_MALLOC := 1
|
||||||
|
|
||||||
|
# Sets the "-D__WUT__" compiling flag
|
||||||
|
USE_WUT := 0
|
||||||
|
|
||||||
# Target filename
|
# Target filename
|
||||||
TARGET := $(notdir $(CURDIR)).mod
|
TARGET := $(notdir $(CURDIR)).mod
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ include $(WUPSDIR)/plugin_makefile.mk
|
|||||||
# -memb: enable embedded application specific compilation
|
# -memb: enable embedded application specific compilation
|
||||||
# -ffunction-sections: split up functions so linker can garbage collect
|
# -ffunction-sections: split up functions so linker can garbage collect
|
||||||
# -fdata-sections: split up data so linker can garbage collect
|
# -fdata-sections: split up data so linker can garbage collect
|
||||||
COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-float -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
|
COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -D__WIIU__ -mrvl -mcpu=750 -meabi -mhard-float -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
|
||||||
|
|
||||||
|
|
||||||
# -x c: compile as c code
|
# -x c: compile as c code
|
||||||
@ -82,6 +82,11 @@ ifeq ($(DO_LOGGING), 1)
|
|||||||
CXXFLAGS += -D__LOGGING__
|
CXXFLAGS += -D__LOGGING__
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(USE_WUT), 1)
|
||||||
|
CFLAGS += -D__WUT__
|
||||||
|
CXXFLAGS += -D__WUT__
|
||||||
|
endif
|
||||||
|
|
||||||
ASFLAGS +=
|
ASFLAGS +=
|
||||||
|
|
||||||
LDFLAG_COMMON +=
|
LDFLAG_COMMON +=
|
||||||
|
@ -4,6 +4,9 @@ DO_LOGGING := 1
|
|||||||
# Non WUT plugins need to wrap the malloc functions.
|
# Non WUT plugins need to wrap the malloc functions.
|
||||||
WRAP_MALLOC := 1
|
WRAP_MALLOC := 1
|
||||||
|
|
||||||
|
# Sets the "-D__WUT__" compiling flag
|
||||||
|
USE_WUT := 0
|
||||||
|
|
||||||
# Target filename
|
# Target filename
|
||||||
TARGET := $(notdir $(CURDIR)).mod
|
TARGET := $(notdir $(CURDIR)).mod
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ include $(WUPSDIR)/plugin_makefile.mk
|
|||||||
# -memb: enable embedded application specific compilation
|
# -memb: enable embedded application specific compilation
|
||||||
# -ffunction-sections: split up functions so linker can garbage collect
|
# -ffunction-sections: split up functions so linker can garbage collect
|
||||||
# -fdata-sections: split up data so linker can garbage collect
|
# -fdata-sections: split up data so linker can garbage collect
|
||||||
COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-float -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
|
COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -D__WIIU__ -mrvl -mcpu=750 -meabi -mhard-float -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
|
||||||
|
|
||||||
|
|
||||||
# -x c: compile as c code
|
# -x c: compile as c code
|
||||||
@ -82,6 +82,11 @@ ifeq ($(DO_LOGGING), 1)
|
|||||||
CXXFLAGS += -D__LOGGING__
|
CXXFLAGS += -D__LOGGING__
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(USE_WUT), 1)
|
||||||
|
CFLAGS += -D__WUT__
|
||||||
|
CXXFLAGS += -D__WUT__
|
||||||
|
endif
|
||||||
|
|
||||||
ASFLAGS +=
|
ASFLAGS +=
|
||||||
|
|
||||||
LDFLAG_COMMON +=
|
LDFLAG_COMMON +=
|
||||||
|
@ -4,6 +4,9 @@ DO_LOGGING := 1
|
|||||||
# Non WUT plugins need to wrap the malloc functions.
|
# Non WUT plugins need to wrap the malloc functions.
|
||||||
WRAP_MALLOC := 1
|
WRAP_MALLOC := 1
|
||||||
|
|
||||||
|
# Sets the "-D__WUT__" compiling flag
|
||||||
|
USE_WUT := 0
|
||||||
|
|
||||||
# Target filename
|
# Target filename
|
||||||
TARGET := $(notdir $(CURDIR)).mod
|
TARGET := $(notdir $(CURDIR)).mod
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ include $(WUPSDIR)/plugin_makefile.mk
|
|||||||
# -memb: enable embedded application specific compilation
|
# -memb: enable embedded application specific compilation
|
||||||
# -ffunction-sections: split up functions so linker can garbage collect
|
# -ffunction-sections: split up functions so linker can garbage collect
|
||||||
# -fdata-sections: split up data so linker can garbage collect
|
# -fdata-sections: split up data so linker can garbage collect
|
||||||
COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-float -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
|
COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -D__WIIU__ -mrvl -mcpu=750 -meabi -mhard-float -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
|
||||||
|
|
||||||
|
|
||||||
# -x c: compile as c code
|
# -x c: compile as c code
|
||||||
@ -82,6 +82,11 @@ ifeq ($(DO_LOGGING), 1)
|
|||||||
CXXFLAGS += -D__LOGGING__
|
CXXFLAGS += -D__LOGGING__
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(USE_WUT), 1)
|
||||||
|
CFLAGS += -D__WUT__
|
||||||
|
CXXFLAGS += -D__WUT__
|
||||||
|
endif
|
||||||
|
|
||||||
ASFLAGS +=
|
ASFLAGS +=
|
||||||
|
|
||||||
LDFLAG_COMMON +=
|
LDFLAG_COMMON +=
|
||||||
|
@ -4,6 +4,9 @@ DO_LOGGING := 1
|
|||||||
# Non WUT plugins need to wrap the malloc functions.
|
# Non WUT plugins need to wrap the malloc functions.
|
||||||
WRAP_MALLOC := 1
|
WRAP_MALLOC := 1
|
||||||
|
|
||||||
|
# Sets the "-D__WUT__" compiling flag
|
||||||
|
USE_WUT := 0
|
||||||
|
|
||||||
# Target filename
|
# Target filename
|
||||||
TARGET := $(notdir $(CURDIR)).mod
|
TARGET := $(notdir $(CURDIR)).mod
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user