aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-08-18 15:11:58 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-08-18 15:11:58 +0200
commit45740236b6b0aa8d445fb3fea8d8c1ec497be3cf (patch)
tree360b568ef89e89ecbaf5189e57b290b8eb0f9777 /Makefile
parent539053ab68d7a124f0c710e3fbd87aba8ee8b0aa (diff)
downloadyosys-45740236b6b0aa8d445fb3fea8d8c1ec497be3cf.tar.gz
yosys-45740236b6b0aa8d445fb3fea8d8c1ec497be3cf.tar.bz2
yosys-45740236b6b0aa8d445fb3fea8d8c1ec497be3cf.zip
Enable propagating ARCHFLAGS
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c2a076229..024b216f0 100644
--- a/Makefile
+++ b/Makefile
@@ -164,8 +164,8 @@ ifeq ($(NO_FPIC),1)
CXXFLAGS := $(filter-out -fPIC,$(CXXFLAGS))
endif
CXXFLAGS += -std=c++11 -Os
-ABCMKARGS = CC="$(CC)" CXX="$(CXX)" LD="$(LD)" LIBS="-static -lm -ldl -pthread" OPTFLAGS="-O" \
- ARCHFLAGS="-DABC_USE_STDINT_H -DABC_NO_DYNAMIC_LINKING=1 -Wno-unused-but-set-variable" ABC_USE_NO_READLINE=1
+ABCMKARGS = CC="$(CC)" CXX="$(CXX)" LD="$(LD)" ABC_USE_LIBSTDCXX=1 LIBS="-static -lm -lpthread" OPTFLAGS="-O" \
+ ARCHFLAGS="-DABC_USE_STDINT_H -DABC_NO_DYNAMIC_LINKING=1 -Wno-unused-but-set-variable $(ARCHFLAGS)" ABC_USE_NO_READLINE=1
else ifeq ($(CONFIG),gcc-4.8)
CXX = gcc-4.8