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
# This also meant that -O3 wouldn't work either.
CFLAGS := -O3 -Wno-unused-result -fomit-frame-pointer -ffast-math -funroll-loops $(CFLAGS)
ifndef NO_LTO
CFLAGS += -flto
LDFLAGS += -flto
# Not Yet... this requires more care with library ordering.
# CFLAGS += -flto
# LDFLAGS += -flto
endif
endif
CFLAGS += -fno-delete-null-pointer-checks
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment