From 0a562ab2c461a5d2f2491259759a40f61841b4ab Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sat, 4 Nov 2023 00:48:52 +0000 Subject: [PATCH] all: add -O2 to compiler args --- 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..559aafa 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 --no-gnu-unique main.cpp borderDeco.cpp -o borders-plus-plus.so -g `pkg-config --cflags pixman-1 libdrm hyprland` -std=c++2b -O2 clean: rm ./borders-plus-plus.so diff --git a/csgo-vulkan-fix/Makefile b/csgo-vulkan-fix/Makefile index c007d91..4a067b2 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 --no-gnu-unique main.cpp -o csgo-vulkan-fix.so -g `pkg-config --cflags pixman-1 libdrm hyprland` -std=c++2b -O2 clean: rm ./csgo-vulkan-fix.so diff --git a/hyprbars/Makefile b/hyprbars/Makefile index c87009a..09af9d0 100644 --- a/hyprbars/Makefile +++ b/hyprbars/Makefile @@ -8,7 +8,7 @@ TARGET = hyprbars.so all: $(TARGET) $(TARGET): $(SRC) - $(CXX) $(CXXFLAGS) $(INCLUDES) $^ $> -o $@ $(LIBS) + $(CXX) $(CXXFLAGS) $(INCLUDES) $^ $> -o $@ $(LIBS) -O2 clean: rm ./$(TARGET)