nixpkgs/pkgs/by-name/sy/sysmenu/002-cflags-fix.patch
2024-06-19 14:58:18 +01:00

14 lines
440 B
Diff

diff --git a/Makefile b/Makefile
index f0b6baf..71033a5 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ SRCS += $(wildcard src/*.cpp)
OBJS = $(SRCS:.cpp=.o)
DESTDIR = $(HOME)/.local
-CXXFLAGS = -march=native -mtune=native -Os -s -Wall -flto=auto -fno-exceptions
+CXXFLAGS = -Os -s -Wall -flto=auto -fno-exceptions
CXXFLAGS += $(shell pkg-config --cflags $(PKGS))
LDFLAGS += $(shell pkg-config --libs $(PKGS)) -Wl,--gc-sections