You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-wm/spectrwm/files/spectrwm-3.4.1_p20221224-fi...

26 lines
1.1 KiB

diff --git a/linux/Makefile b/linux/Makefile
index 8466651..a7a5ebd 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -12,16 +12,16 @@ BUILDVERSION := $(shell sh $(CURDIR)/../buildver.sh)
LIBVERSION := $(shell . $(CURDIR)/../lib/shlib_version; echo $$major.$$minor)
LIBMAJORVERSION := $(shell . $(CURDIR)/../lib/shlib_version; echo $$major)
-MAINT_CFLAGS := -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -g
-MAINT_LDFLAGS := -Wl,--as-needed
+MAINT_CFLAGS := -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow
+MAINT_LDFLAGS :=
MAINT_CPPFLAGS := -I. -D_GNU_SOURCE -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LIBVERSION)\"
ifneq ("${BUILDVERSION}", "")
MAINT_CPPFLAGS += -DSPECTRWM_BUILDSTR=\"$(BUILDVERSION)\"
endif
-BIN_CFLAGS := -fPIE
-BIN_LDFLAGS := -fPIE -pie
+BIN_CFLAGS :=
+BIN_LDFLAGS :=
BIN_CPPFLAGS := $(shell $(PKG_CONFIG) --cflags x11 x11-xcb xcb-icccm xcb-keysyms xcb-randr xcb-util xcb-xinput xcb-xtest xcursor xft)
BIN_LDLIBS := $(shell $(PKG_CONFIG) --libs x11 x11-xcb xcb-icccm xcb-keysyms xcb-randr xcb-util xcb-xinput xcb-xtest xcursor xft)
LIB_CFLAGS := -fPIC