diff --git a/lib/libcrypto/makefile b/lib/libcrypto/makefile index d440c11..8e35f03 100644 --- a/lib/libcrypto/makefile +++ b/lib/libcrypto/makefile @@ -22,8 +22,8 @@ else UNAME = $(shell uname -s) ifeq ($(UNAME), Darwin) # MacOS Only Flags/Libs - CFLAGS += -Wunused-private-field - CXXFLAGS += -Wunused-private-field + CFLAGS += -Wno-unused-private-field + CXXFLAGS += -Wno-unused-private-field ARFLAGS = rc else # *nix Only Flags/Libs diff --git a/lib/libes/makefile b/lib/libes/makefile index 3f707e4..ba0b6e8 100644 --- a/lib/libes/makefile +++ b/lib/libes/makefile @@ -22,8 +22,8 @@ else UNAME = $(shell uname -s) ifeq ($(UNAME), Darwin) # MacOS Only Flags/Libs - CFLAGS += -Wunused-private-field - CXXFLAGS += -Wunused-private-field + CFLAGS += -Wno-unused-private-field + CXXFLAGS += -Wno-unused-private-field ARFLAGS = rc else # *nix Only Flags/Libs diff --git a/lib/libfnd/makefile b/lib/libfnd/makefile index e9b75b4..a5a2c72 100644 --- a/lib/libfnd/makefile +++ b/lib/libfnd/makefile @@ -22,8 +22,8 @@ else UNAME = $(shell uname -s) ifeq ($(UNAME), Darwin) # MacOS Only Flags/Libs - CFLAGS += -Wunused-private-field - CXXFLAGS += -Wunused-private-field + CFLAGS += -Wno-unused-private-field + CXXFLAGS += -Wno-unused-private-field ARFLAGS = rc else # *nix Only Flags/Libs diff --git a/lib/libnx/makefile b/lib/libnx/makefile index 3f707e4..ba0b6e8 100644 --- a/lib/libnx/makefile +++ b/lib/libnx/makefile @@ -22,8 +22,8 @@ else UNAME = $(shell uname -s) ifeq ($(UNAME), Darwin) # MacOS Only Flags/Libs - CFLAGS += -Wunused-private-field - CXXFLAGS += -Wunused-private-field + CFLAGS += -Wno-unused-private-field + CXXFLAGS += -Wno-unused-private-field ARFLAGS = rc else # *nix Only Flags/Libs diff --git a/programs/ncatool/makefile b/programs/ncatool/makefile index 3d96a8d..da01e4a 100644 --- a/programs/ncatool/makefile +++ b/programs/ncatool/makefile @@ -12,19 +12,27 @@ BIN_DIR = bin OUTPUT = $(BIN_DIR)/$(shell basename $(CURDIR)) # Compiler Settings -CXXFLAGS = -std=c++11 $(INCS) -D__STDC_FORMAT_MACROS -Wall -Wno-unused-but-set-variable -Wno-unused-value +CXXFLAGS = -std=c++11 $(INCS) -D__STDC_FORMAT_MACROS -Wall -Wno-unused-value ifeq ($(OS),Windows_NT) # Windows Only Flags/Libs CC = x86_64-w64-mingw32-gcc CXX = x86_64-w64-mingw32-g++ - CFLAGS += - CXXFLAGS += + CFLAGS += -Wno-unused-but-set-variable + CXXFLAGS += -Wno-unused-but-set-variable LIBS += -static else - # *nix Only Flags/Libs - CFLAGS += - CXXFLAGS += - LIBS += + UNAME = $(shell uname -s) + ifeq ($(UNAME), Darwin) + # MacOS Only Flags/Libs + CFLAGS += -Wno-unused-private-field + CXXFLAGS += -Wno-unused-private-field + LIBS += + else + # *nix Only Flags/Libs + CFLAGS += -Wno-unused-but-set-variable + CXXFLAGS += -Wno-unused-but-set-variable + LIBS += + endif endif all: build diff --git a/programs/npdmtool/makefile b/programs/npdmtool/makefile index 3d96a8d..da01e4a 100644 --- a/programs/npdmtool/makefile +++ b/programs/npdmtool/makefile @@ -12,19 +12,27 @@ BIN_DIR = bin OUTPUT = $(BIN_DIR)/$(shell basename $(CURDIR)) # Compiler Settings -CXXFLAGS = -std=c++11 $(INCS) -D__STDC_FORMAT_MACROS -Wall -Wno-unused-but-set-variable -Wno-unused-value +CXXFLAGS = -std=c++11 $(INCS) -D__STDC_FORMAT_MACROS -Wall -Wno-unused-value ifeq ($(OS),Windows_NT) # Windows Only Flags/Libs CC = x86_64-w64-mingw32-gcc CXX = x86_64-w64-mingw32-g++ - CFLAGS += - CXXFLAGS += + CFLAGS += -Wno-unused-but-set-variable + CXXFLAGS += -Wno-unused-but-set-variable LIBS += -static else - # *nix Only Flags/Libs - CFLAGS += - CXXFLAGS += - LIBS += + UNAME = $(shell uname -s) + ifeq ($(UNAME), Darwin) + # MacOS Only Flags/Libs + CFLAGS += -Wno-unused-private-field + CXXFLAGS += -Wno-unused-private-field + LIBS += + else + # *nix Only Flags/Libs + CFLAGS += -Wno-unused-but-set-variable + CXXFLAGS += -Wno-unused-but-set-variable + LIBS += + endif endif all: build diff --git a/programs/pfstool/makefile b/programs/pfstool/makefile index 3d96a8d..da01e4a 100644 --- a/programs/pfstool/makefile +++ b/programs/pfstool/makefile @@ -12,19 +12,27 @@ BIN_DIR = bin OUTPUT = $(BIN_DIR)/$(shell basename $(CURDIR)) # Compiler Settings -CXXFLAGS = -std=c++11 $(INCS) -D__STDC_FORMAT_MACROS -Wall -Wno-unused-but-set-variable -Wno-unused-value +CXXFLAGS = -std=c++11 $(INCS) -D__STDC_FORMAT_MACROS -Wall -Wno-unused-value ifeq ($(OS),Windows_NT) # Windows Only Flags/Libs CC = x86_64-w64-mingw32-gcc CXX = x86_64-w64-mingw32-g++ - CFLAGS += - CXXFLAGS += + CFLAGS += -Wno-unused-but-set-variable + CXXFLAGS += -Wno-unused-but-set-variable LIBS += -static else - # *nix Only Flags/Libs - CFLAGS += - CXXFLAGS += - LIBS += + UNAME = $(shell uname -s) + ifeq ($(UNAME), Darwin) + # MacOS Only Flags/Libs + CFLAGS += -Wno-unused-private-field + CXXFLAGS += -Wno-unused-private-field + LIBS += + else + # *nix Only Flags/Libs + CFLAGS += -Wno-unused-but-set-variable + CXXFLAGS += -Wno-unused-but-set-variable + LIBS += + endif endif all: build diff --git a/programs/tiktool/makefile b/programs/tiktool/makefile index 5377914..3cfd074 100644 --- a/programs/tiktool/makefile +++ b/programs/tiktool/makefile @@ -12,19 +12,27 @@ BIN_DIR = bin OUTPUT = $(BIN_DIR)/$(shell basename $(CURDIR)) # Compiler Settings -CXXFLAGS = -std=c++11 $(INCS) -D__STDC_FORMAT_MACROS -Wall -Wno-unused-but-set-variable -Wno-unused-value +CXXFLAGS = -std=c++11 $(INCS) -D__STDC_FORMAT_MACROS -Wall -Wno-unused-value ifeq ($(OS),Windows_NT) # Windows Only Flags/Libs CC = x86_64-w64-mingw32-gcc CXX = x86_64-w64-mingw32-g++ - CFLAGS += - CXXFLAGS += + CFLAGS += -Wno-unused-but-set-variable + CXXFLAGS += -Wno-unused-but-set-variable LIBS += -static else - # *nix Only Flags/Libs - CFLAGS += - CXXFLAGS += - LIBS += + UNAME = $(shell uname -s) + ifeq ($(UNAME), Darwin) + # MacOS Only Flags/Libs + CFLAGS += -Wno-unused-private-field + CXXFLAGS += -Wno-unused-private-field + LIBS += + else + # *nix Only Flags/Libs + CFLAGS += -Wno-unused-but-set-variable + CXXFLAGS += -Wno-unused-but-set-variable + LIBS += + endif endif all: build diff --git a/programs/xcitool/makefile b/programs/xcitool/makefile index 3d96a8d..da01e4a 100644 --- a/programs/xcitool/makefile +++ b/programs/xcitool/makefile @@ -12,19 +12,27 @@ BIN_DIR = bin OUTPUT = $(BIN_DIR)/$(shell basename $(CURDIR)) # Compiler Settings -CXXFLAGS = -std=c++11 $(INCS) -D__STDC_FORMAT_MACROS -Wall -Wno-unused-but-set-variable -Wno-unused-value +CXXFLAGS = -std=c++11 $(INCS) -D__STDC_FORMAT_MACROS -Wall -Wno-unused-value ifeq ($(OS),Windows_NT) # Windows Only Flags/Libs CC = x86_64-w64-mingw32-gcc CXX = x86_64-w64-mingw32-g++ - CFLAGS += - CXXFLAGS += + CFLAGS += -Wno-unused-but-set-variable + CXXFLAGS += -Wno-unused-but-set-variable LIBS += -static else - # *nix Only Flags/Libs - CFLAGS += - CXXFLAGS += - LIBS += + UNAME = $(shell uname -s) + ifeq ($(UNAME), Darwin) + # MacOS Only Flags/Libs + CFLAGS += -Wno-unused-private-field + CXXFLAGS += -Wno-unused-private-field + LIBS += + else + # *nix Only Flags/Libs + CFLAGS += -Wno-unused-but-set-variable + CXXFLAGS += -Wno-unused-but-set-variable + LIBS += + endif endif all: build