07-05-2022, 02:16 AM
(07-04-2022, 06:24 PM)Fifi Wrote: Yes, but where should I add this switch?
In the Makefile (I guess)?
Then, in what part?
Should I add the "-no-pie" switch in the section ifeq ($(OS),lnx) right after "CCXFLAGS += -DFREEGLUT_STATIC"?
like this: "CCXFLAGS += -DFREEGLUT_STATIC -no-pie"
or before like this:"CCXFLAGS += -no-pie -DFREEGLUT_STATIC"
or in another better place?
This is actually an easy one, using
v0.8.0or higher you shouldn't need to touch any of the build logic Just open the
C++ Compiler Settingsdialog from the
Optionsmenu and add
-no-pieto the Compiler flags. That should do everything you need.