Skip to content

Commit 444d0e6

Browse files
committed
Suppress gcc warning 'parameter passing for argument changed'
1 parent 7e2ed0e commit 444d0e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ ifeq ($(OS),Darwin)
9999
MERGE=false
100100
endif
101101
else
102-
CXXFLAGS += -U_FORTIFY_SOURCE -Wl,-z,defs -Wl,--exclude-libs,ALL -static-libstdc++ -static-libgcc -fdata-sections -ffunction-sections -Wl,--gc-sections -ggdb -Wunused-variable
102+
CXXFLAGS += -U_FORTIFY_SOURCE -Wl,-z,defs -Wl,--exclude-libs,ALL -static-libstdc++ -static-libgcc
103+
CXXFLAGS += -fdata-sections -ffunction-sections -Wl,--gc-sections -ggdb -Wunused-variable -Wno-psabi
103104
ifeq ($(MERGE),true)
104105
CXXFLAGS += -fwhole-program
105106
endif

0 commit comments

Comments
 (0)