Skip to content
Snippets Groups Projects
Commit 19ead3d0 authored by rtoy's avatar rtoy
Browse files

There is no or function in my version of GNU make, so do it the hard

way when setting -DFEATURE_SSE2.
parent 5d2cea07
No related branches found
No related tags found
No related merge requests found
......@@ -24,8 +24,16 @@ GC_SRC := cgc.c
CPP_DEFINE_OPTIONS += -DWANT_CGC
endif
ifneq ($(or $(FEATURE_X87),$(FEATURE_SSE2)),)
# Enable support for SSE2. If FEATURE_X87 is set, we want SSE2
# support in the C code too so that the same binary is built in both
# cases. If neither is set, then we don't want any SSE2 support at
# all.
ifdef FEATURE_X87
CPP_DEFINE_OPTIONS += -DFEATURE_SSE2
else
ifdef FEATURE_SSE2
CPP_DEFINE_OPTIONS += -DFEATURE_SSE2
endif
endif
ifdef FEATURE_UNICODE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment