summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBaruch Sterin <baruchs@gmail.com>2022-01-21 22:51:36 +0200
committerBaruch Sterin <baruchs@gmail.com>2022-01-22 18:34:43 +0200
commit554a1693ac2bd81169b28227ea718527136f5e7e (patch)
tree5c359e8506c2ba9ddcd49abdbb494377aca609b1 /Makefile
parent5b8fa41ba966271f97f99860b21eee83bf51e61a (diff)
downloadabc-554a1693ac2bd81169b28227ea718527136f5e7e.tar.gz
abc-554a1693ac2bd81169b28227ea718527136f5e7e.tar.bz2
abc-554a1693ac2bd81169b28227ea718527136f5e7e.zip
Move CI to GitHub Actions.
Also, a few minor changes that are required to compile ABC under moder compilers.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bdea392a..3976cf7b 100644
--- a/Makefile
+++ b/Makefile
@@ -61,9 +61,9 @@ ifneq ($(findstring arm,$(shell uname -m)),)
CFLAGS += -DABC_MEMALIGN=4
endif
-# compile ABC using the C++ comipler and put everything in the namespace $(ABC_NAMESPACE)
+# compile ABC using the C++ compiler and put everything in the namespace $(ABC_NAMESPACE)
ifdef ABC_USE_NAMESPACE
- CFLAGS += -DABC_NAMESPACE=$(ABC_USE_NAMESPACE) -fpermissive
+ CFLAGS += -DABC_NAMESPACE=$(ABC_USE_NAMESPACE) -fpermissive -x c++
CC := $(CXX)
$(info $(MSG_PREFIX)Compiling in namespace $(ABC_NAMESPACE))
endif