aboutsummaryrefslogtreecommitdiff
path: root/project/Makefile
diff options
context:
space:
mode:
authorWiimm <wiimm@wiimm.de>2023-07-11 16:18:26 +0200
committerWiimm <wiimm@wiimm.de>2023-07-11 16:18:26 +0200
commitb5b1fe7fc0cf460d6204c18ba7bb4c40f7597efa (patch)
treea7b4bb1e79fde818dd7af17fee1207ae40178ab7 /project/Makefile
parent74ac39c1af5c8e85bf10711aed2ffc9dfee2e277 (diff)
SZS v2.35a
Diffstat (limited to '')
-rw-r--r--project/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/project/Makefile b/project/Makefile
index 289fd8e..a125294 100644
--- a/project/Makefile
+++ b/project/Makefile
@@ -57,7 +57,7 @@ WPATT_LONG = Wiimms PAT Tool
WSTRT_SHORT = wstrt
WSTRT_LONG = Wiimms StaticR Tool
-VERSION_NUM = 2.34a
+VERSION_NUM = 2.35a
BETA_VERSION = 0
# 0:off -1:"beta" >0:"beta#"
@@ -147,7 +147,7 @@ DEFINES1 += -DUIOPT_INDEX_SIZE=320 # define max number of options (default 0x100
CFLAGS += $(DCLIB_CFLAGS)
CFLAGS += -std=gnu99 -fomit-frame-pointer -fno-strict-aliasing -funroll-loops
CFLAGS += -Wall -Wno-parentheses -Wno-unused-function
-CFLAGS += -Wno-deprecated-declarations -Wno-gnu-variable-sized-type-not-at-end
+CFLAGS += -Wno-deprecated-declarations
CFLAGS += -O3 -Isrc -I$(UI) -I.
DEPFLAGS += -MMD
@@ -155,11 +155,11 @@ DEPFLAGS += -MMD
#--- system depedent flags & libs
ifeq ($(SYSTEM),mac)
- CFLAGS += -I/usr/local/include -Wno-typedef-redefinition
+ CFLAGS += -I/usr/local/include -Wno-typedef-redefinition -Wno-gnu-variable-sized-type-not-at-end
endif
ifeq ($(SYSTEM_LINUX),1)
- CFLAGS += -ffunction-sections -fdata-sections
+ CFLAGS += -ffunction-sections -fdata-sections -Wno-gnu-variable-sized-type-not-at-end
LDFLAGS += -Xlinker --gc-sections
#LDFLAGS += -Xlinker --print-gc-sections
LIBS += -ltinfo
@@ -170,6 +170,14 @@ ifeq ($(SYSTEM),cygwin)
LDFLAGS += -static-libgcc
endif
+ifeq ($(SYSTEM2),cygwin32)
+ CFLAGS += -Wno-gnu-variable-sized-type-not-at-end
+endif
+
+ifeq ($(SYSTEM2),cygwin64)
+ CFLAGS += -Wno-char-subscripts
+endif
+
ifeq ($(shell expr $(GCC_VERSION) '>=' 7.0 ),1)
ifneq ($(SYSTEM),mac)
CFLAGS += -Wno-format-truncation