Skip to content

Commit

Permalink
config-uname.mk: fix x86_64 specific build flags
Browse files Browse the repository at this point in the history
This will enable -msse3 and other x86_64 flags.

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
  • Loading branch information
swesterfeld committed Sep 15, 2019
1 parent 4f8e916 commit 55e5fe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config-uname.mk
Expand Up @@ -64,7 +64,7 @@ ifdef HAVE_GCC # g++
endif
endif

ifeq ($(uname_S),x86_64)
ifeq ($(uname_M),x86_64)
COMMONFLAGS += -mcx16 # for CMPXCHG16B, in AMD64 since 2005
OPTIMIZE += -minline-all-stringops
OPTIMIZE += -mmmx -msse -msse2 # Intel since 2001, AMD since 2003
Expand Down

0 comments on commit 55e5fe3

Please sign in to comment.