From ac8ef7d0be462ae5fbfb4f0c93a2c38ade55fc3c Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 8 May 2023 18:56:23 +0000 Subject: [PATCH] make: drop --no-gnu-unique unsupported by -fuse-ld=bfd Only Gold and LLD implement --no-gnu-unique but Makefile is too primitive to figure out which toolchain is used by default. --- borders-plus-plus/Makefile | 2 +- csgo-vulkan-fix/Makefile | 2 +- hyprbars/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/borders-plus-plus/Makefile b/borders-plus-plus/Makefile index 04f22ce..e84d1a0 100644 --- a/borders-plus-plus/Makefile +++ b/borders-plus-plus/Makefile @@ -1,4 +1,4 @@ all: - $(CXX) -shared -fPIC --no-gnu-unique main.cpp borderDeco.cpp -o borders-plus-plus.so -g `pkg-config --cflags pixman-1 libdrm hyprland` -std=c++2b + $(CXX) -shared -fPIC main.cpp borderDeco.cpp -o borders-plus-plus.so -g `pkg-config --cflags pixman-1 libdrm hyprland` -std=c++2b clean: rm ./borders-plus-plus.so diff --git a/csgo-vulkan-fix/Makefile b/csgo-vulkan-fix/Makefile index c007d91..71840b5 100644 --- a/csgo-vulkan-fix/Makefile +++ b/csgo-vulkan-fix/Makefile @@ -1,4 +1,4 @@ all: - $(CXX) -shared -fPIC --no-gnu-unique main.cpp -o csgo-vulkan-fix.so -g `pkg-config --cflags pixman-1 libdrm hyprland` -std=c++2b + $(CXX) -shared -fPIC main.cpp -o csgo-vulkan-fix.so -g `pkg-config --cflags pixman-1 libdrm hyprland` -std=c++2b clean: rm ./csgo-vulkan-fix.so diff --git a/hyprbars/Makefile b/hyprbars/Makefile index c87009a..dacd039 100644 --- a/hyprbars/Makefile +++ b/hyprbars/Makefile @@ -1,4 +1,4 @@ -CXXFLAGS = -shared -fPIC --no-gnu-unique -g -std=c++2b -Wno-c++11-narrowing +CXXFLAGS = -shared -fPIC -g -std=c++2b -Wno-c++11-narrowing INCLUDES = `pkg-config --cflags pixman-1 libdrm hyprland pangocairo` LIBS = `pkg-config --libs pangocairo`