Skip to content

Commit

Permalink
SporeModManager: enable -Wall -Wextra -Wpedantic
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosalie241 committed Nov 29, 2023
1 parent 3ea3bf9 commit 94a4677
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SporeModManager/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ MINGW_CXX ?= i686-w64-mingw32-g++

ifeq ($(MINGW), 0)
LDFLAGS := -flto -s
OPTFLAGS := -Os -flto
OPTFLAGS := -Os -flto -Wall -Wextra -Wpedantic
OBJ := o
EXE_EXT :=
else
# mingw doesn't like LTO
# and we need to statically link
LDFLAGS := -s -municode -static
OPTFLAGS := -Os
OPTFLAGS := -Os -Wall -Wextra -Wpedantic
OBJ := obj
EXE_EXT := .exe
endif
Expand Down

0 comments on commit 94a4677

Please sign in to comment.