Skip to content

Commit

Permalink
Conditional use of msse (only x86)
Browse files Browse the repository at this point in the history
  • Loading branch information
olapiv committed Nov 4, 2024
1 parent 4e1b1b5 commit e147397
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pink/third/slash/slash/examples/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
CXX=g++
LDFLAGS= -lpthread -lrt
CXXFLAGS= -O2 -std=c++11 -fno-builtin-memcmp -msse -msse4.2
CXXFLAGS= -O2 -std=c++11 -fno-builtin-memcmp
ifeq ($(shell uname -m), x86_64)
CXXFLAGS += -msse -msse4.2
endif

.PHONY: clean libslash

Expand Down

0 comments on commit e147397

Please sign in to comment.