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.
This commit is contained in:
Jan Beich 2023-05-08 18:56:23 +00:00
parent fb204633fb
commit ac8ef7d0be
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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`