forgot to set the var...

This commit is contained in:
iceman1001 2023-09-12 20:47:59 +02:00
commit c26d33dfd3

View file

@ -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