mirror of
https://github.com/aristocratos/btop.git
synced 2026-04-21 18:58:09 +02:00
Merge pull request #500 from stwnt/improve-portability
Replace -ftree-loop-vectorize with -ftree-vectorize.
This commit is contained in:
2
Makefile
2
Makefile
@@ -130,7 +130,7 @@ override GOODFLAGS := $(foreach flag,$(TESTFLAGS),$(strip $(shell echo "int main
|
||||
#? Flags, Libraries and Includes
|
||||
override REQFLAGS := -std=c++20
|
||||
WARNFLAGS := -Wall -Wextra -pedantic
|
||||
OPTFLAGS := -O2 -ftree-loop-vectorize -flto=$(THREADS)
|
||||
OPTFLAGS := -O2 -ftree-vectorize -flto=$(THREADS)
|
||||
LDCXXFLAGS := -pthread -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS $(GOODFLAGS) $(ADDFLAGS)
|
||||
override CXXFLAGS += $(REQFLAGS) $(LDCXXFLAGS) $(OPTFLAGS) $(WARNFLAGS)
|
||||
override LDFLAGS += $(LDCXXFLAGS) $(OPTFLAGS) $(WARNFLAGS)
|
||||
|
||||
Reference in New Issue
Block a user