Skip to content

Commit

Permalink
Makefile: use -Os instead of -O2
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosalie241 authored Oct 13, 2023
1 parent de78585 commit 61424ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ SOURCE_DIR = SporeModManager
PKG_CONFIG := pkg-config
CC := gcc
CXX := g++
CFLAGS := -O2 -flto \
CFLAGS := -Os -flto \
-I$(THIRDPARTY_DIR)/zlib \
-I$(THIRDPARTY_DIR)/zlib/contrib/minizip
CXXFLAGS := -std=c++17 \
-O2 -flto \
-Os -flto \
-I$(SOURCE_DIR) \
-I$(THIRDPARTY_DIR)/tinyxml2 \
-I$(THIRDPARTY_DIR)/zlib \
Expand Down

0 comments on commit 61424ed

Please sign in to comment.