Skip to content

Commit

Permalink
fix: removed unstable build flags (LTO)
Browse files Browse the repository at this point in the history
  • Loading branch information
iWas-Coder committed Apr 8, 2024
1 parent ec20bbf commit a86f78a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ else
RSC += -r
DISABLE_ASSERTS_OPTS = -D NDEBUG
HIDE_WARNS_OPTS = -w
HIDE_LTO_WARNS_OPTS = -Wno-stringop-overflow
RELEASE_OPTS = -pipe -O3 -fipa-pta -fuse-linker-plugin -flto=auto
RELEASE_OPTS = -pipe -O3 -fipa-pta
STRIP_OPTS = -s
endif
define RAYLIB_CPPFLAGS
Expand Down Expand Up @@ -129,7 +128,6 @@ define CFLAGS
endef
define LDFLAGS
-Wl,--build-id \
$(HIDE_LTO_WARNS_OPTS) \
$(STRIP_OPTS) \
$(RELEASE_OPTS) \
-L $(BUILD_DIR) \
Expand Down

0 comments on commit a86f78a

Please sign in to comment.