From c26d33dfd3cebb803a384e838c07908ccda4e240 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 12 Sep 2023 20:47:59 +0200 Subject: [PATCH] forgot to set the var... --- tools/cryptorf/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/cryptorf/Makefile b/tools/cryptorf/Makefile index 45cd51a5d..96ac9393d 100644 --- a/tools/cryptorf/Makefile +++ b/tools/cryptorf/Makefile @@ -4,21 +4,21 @@ MYINCLUDES = -I../../common/cryptorf MYCFLAGS = MYDEFS = +platform = $(shell uname) + # Atomic # RPi Zero gcc requires -latomic # but MacOSX /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld # doesn't recognize option --as-needed ifneq ($(platform),Darwin) - MYLDLIBS += -lpthread -Wl,--as-needed -latomic -Wl,--no-as-needed + LDLIBS += -lpthread -Wl,--as-needed -latomic -Wl,--no-as-needed endif BINS = cm sm sma sma_multi INSTALLTOOLS = $(BINS) -platform = $(shell uname) - ifeq ($(platform),Darwin) -CXXFLAGS = -std=c++14 + CXXFLAGS = -std=c++14 endif include ../../Makefile.host