diff --git a/Makefile b/Makefile index 4f965a12e..b483a2cef 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,10 @@ ifeq ($(OS),lnx) PLATFORM := posix EXTENSION := + # Compiling with -no-pie lets some file explorers know we're an executable, + # not a shared object + CXXFLAGS += -no-pie + # Check bitness by getting length of `long # 64 bits on x86_64, 32 bits on x86 BITS := $(shell getconf LONG_BIT)