vuls: init at 0.27.0 (#348530)
[NixPkgs.git] / pkgs / by-name / sy / sysmenu / 002-cflags-fix.patch
blobd089857ff66947be553cb4e7b2a5d08c13aa6b36
1 diff --git a/Makefile b/Makefile
2 index f0b6baf..71033a5 100644
3 --- a/Makefile
4 +++ b/Makefile
5 @@ -4,7 +4,7 @@ SRCS += $(wildcard src/*.cpp)
6 OBJS = $(SRCS:.cpp=.o)
7 DESTDIR = $(HOME)/.local
9 -CXXFLAGS = -march=native -mtune=native -Os -s -Wall -flto=auto -fno-exceptions
10 +CXXFLAGS = -Os -s -Wall -flto=auto -fno-exceptions
11 CXXFLAGS += $(shell pkg-config --cflags $(PKGS))
12 LDFLAGS += $(shell pkg-config --libs $(PKGS)) -Wl,--gc-sections