From 4c22511d17965f8bf877911190221810110e8963 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 6 Feb 2020 09:48:30 +0100 Subject: [PATCH] configure: simplify --- configure | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 4a84a4f2..13c11b33 100755 --- a/configure +++ b/configure @@ -320,7 +320,7 @@ fi check_compiler_flag "l,-z,relro,-z,now" W LDFLAGS # -# Check if -fPIE and -pie are supported if --build-pie is set. +# Check if PIE is supported. # check_compiler_flag PIE f PROG_CFLAGS if [ $? -eq 0 ]; then @@ -376,8 +376,7 @@ echo "STATIC_LIBS = \$(TOPDIR)/lib/libxbps.a" >>$CONFIG_MK # proplib echo "CPPFLAGS += -I\$(TOPDIR)/lib/portableproplib" >>$CONFIG_MK echo "CPPFLAGS += -I\$(TOPDIR)/lib/portableproplib/prop" >>$CONFIG_MK -echo "LDFLAGS += -lpthread" >>$CONFIG_MK -echo "STATIC_LIBS += -lpthread" >>$CONFIG_MK +echo "CFLAGS += -pthread" >>$CONFIG_MK # # Check for GCC atomic builtins.