Skip to content
Snippets Groups Projects
Commit a10f5e3e 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 c14c97ec
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -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