forgot to set the var...
This commit is contained in:
1 parent
774f1c33ef
commit
c26d33dfd3
1 file changed
+4
-4
@@ -4,21 +4,21 @@ MYINCLUDES = -I../../common/cryptorf
|
|||||||
MYCFLAGS =
|
MYCFLAGS =
|
||||||
MYDEFS =
|
MYDEFS =
|
||||||
|
|
||||||
|
platform = $(shell uname)
|
||||||
|
|
||||||
# Atomic
|
# Atomic
|
||||||
# RPi Zero gcc requires -latomic
|
# RPi Zero gcc requires -latomic
|
||||||
# but MacOSX /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
|
# but MacOSX /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
|
||||||
# doesn't recognize option --as-needed
|
# doesn't recognize option --as-needed
|
||||||
ifneq ($(platform),Darwin)
|
ifneq ($(platform),Darwin)
|
||||||
MYLDLIBS += -lpthread -Wl,--as-needed -latomic -Wl,--no-as-needed
|
LDLIBS += -lpthread -Wl,--as-needed -latomic -Wl,--no-as-needed
|
||||||
endif
|
endif
|
||||||
|
|
||||||
BINS = cm sm sma sma_multi
|
BINS = cm sm sma sma_multi
|
||||||
INSTALLTOOLS = $(BINS)
|
INSTALLTOOLS = $(BINS)
|
||||||
|
|
||||||
platform = $(shell uname)
|
|
||||||
|
|
||||||
ifeq ($(platform),Darwin)
|
ifeq ($(platform),Darwin)
|
||||||
CXXFLAGS = -std=c++14
|
CXXFLAGS = -std=c++14
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include ../../Makefile.host
|
include ../../Makefile.host
|
||||||
|
|||||||
Reference in new issue
Block a user