Skip to content
Snippets Groups Projects
Commit 8ea95082 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Disable LTO for now... it appears LTO is more strict with object ordering.

parent 5548e052
No related branches found
No related tags found
No related merge requests found
Pipeline #6123 passed
...@@ -498,8 +498,9 @@ else # RELEASE ...@@ -498,8 +498,9 @@ else # RELEASE
# This also meant that -O3 wouldn't work either. # This also meant that -O3 wouldn't work either.
CFLAGS := -O3 -Wno-unused-result -fomit-frame-pointer -ffast-math -funroll-loops $(CFLAGS) CFLAGS := -O3 -Wno-unused-result -fomit-frame-pointer -ffast-math -funroll-loops $(CFLAGS)
ifndef NO_LTO ifndef NO_LTO
CFLAGS += -flto # Not Yet... this requires more care with library ordering.
LDFLAGS += -flto # CFLAGS += -flto
# LDFLAGS += -flto
endif endif
endif endif
CFLAGS += -fno-delete-null-pointer-checks CFLAGS += -fno-delete-null-pointer-checks
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment