mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2024-11-24 19:25:59 +01:00
all: add -O2 to compiler args
This commit is contained in:
parent
87955bceb1
commit
0a562ab2c4
3 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
all:
|
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:
|
clean:
|
||||||
rm ./borders-plus-plus.so
|
rm ./borders-plus-plus.so
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
all:
|
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:
|
clean:
|
||||||
rm ./csgo-vulkan-fix.so
|
rm ./csgo-vulkan-fix.so
|
||||||
|
|
|
@ -8,7 +8,7 @@ TARGET = hyprbars.so
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
|
|
||||||
$(TARGET): $(SRC)
|
$(TARGET): $(SRC)
|
||||||
$(CXX) $(CXXFLAGS) $(INCLUDES) $^ $> -o $@ $(LIBS)
|
$(CXX) $(CXXFLAGS) $(INCLUDES) $^ $> -o $@ $(LIBS) -O2
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm ./$(TARGET)
|
rm ./$(TARGET)
|
||||||
|
|
Loading…
Reference in a new issue