Description: Drop -no-pie option from LIBS This avoids the Lintian warning hardening-no-pie. Author: Rafael Laboissière Forwarded: not-needed Last-Update: 2026-07-06 --- praat-6.6.30+dfsg.orig/Makefile +++ praat-6.6.30+dfsg/Makefile @@ -324,7 +324,7 @@ else ifeq ($(OS_IS_LINUX),1) CXX := clang LINKER_COMMAND := clang CXXFLAGS += -stdlib=libc++ - NON_PRAAT_LIBRARIES := $(GRAPHICS_LINKER_FLAGS) -no-pie -lc++ -lm $(AUDIO_LINKER_FLAGS) -lpthread + NON_PRAAT_LIBRARIES := $(GRAPHICS_LINKER_FLAGS) -lc++ -lm $(AUDIO_LINKER_FLAGS) -lpthread else CC := gcc CXX := g++ @@ -332,19 +332,19 @@ else ifeq ($(OS_IS_LINUX),1) ifeq ($(SUBOS_IS_RASPBERRY_PI),1) # The static library /usr/lib/gcc/arm-linux-gnueabihf/8/libstdc++fs.a is needed with GCC 8, # and can be removed when using GCC 9 - NON_PRAAT_LIBRARIES := $(GRAPHICS_LINKER_FLAGS) -no-pie -lm $(AUDIO_LINKER_FLAGS) \ + NON_PRAAT_LIBRARIES := $(GRAPHICS_LINKER_FLAGS) -lm $(AUDIO_LINKER_FLAGS) \ -static-libgcc -static-libstdc++ -lpthread -latomic -ldl -lstdc++fs else ifeq ($(SUBOS_IS_CHROME),1) - NON_PRAAT_LIBRARIES := $(GRAPHICS_LINKER_FLAGS) -no-pie -lm $(AUDIO_LINKER_FLAGS) \ + NON_PRAAT_LIBRARIES := $(GRAPHICS_LINKER_FLAGS) -lm $(AUDIO_LINKER_FLAGS) \ -static-libgcc -static-libstdc++ -lpthread -L /usr/lib/x86_64-linux-gnu else ifeq ($(PRAAT_GRAPHICS),barrenXXX) - NON_PRAAT_LIBRARIES := $(GRAPHICS_LINKER_FLAGS) -no-pie -lm $(AUDIO_LINKER_FLAGS) \ + NON_PRAAT_LIBRARIES := $(GRAPHICS_LINKER_FLAGS) -lm $(AUDIO_LINKER_FLAGS) \ -static-libgcc -static-libstdc++ -lpthread -L /usr/lib/x86_64-linux-gnu else ifeq ($(PRAAT_GRAPHICS),noguiXXX) - NON_PRAAT_LIBRARIES := $(GRAPHICS_LINKER_FLAGS) -no-pie -lm $(AUDIO_LINKER_FLAGS) \ + NON_PRAAT_LIBRARIES := $(GRAPHICS_LINKER_FLAGS) -lm $(AUDIO_LINKER_FLAGS) \ -static-libgcc -static-libstdc++ -lpthread else - NON_PRAAT_LIBRARIES := $(GRAPHICS_LINKER_FLAGS) -no-pie -lm $(AUDIO_LINKER_FLAGS) -lpthread + NON_PRAAT_LIBRARIES := $(GRAPHICS_LINKER_FLAGS) -lm $(AUDIO_LINKER_FLAGS) -lpthread endif endif