depot/third_party/nixpkgs/pkgs/by-name/sy/sysmenu/002-cflags-fix.patch
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

13 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