aboutsummaryrefslogtreecommitdiffhomepage
path: root/sample
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2022-11-29 08:38:46 +0900
committerMITSUNARI Shigeo <[email protected]>2022-11-29 08:38:46 +0900
commit62be84cc87488b2c96a5504ad5dcc4758d7e43a2 (patch)
tree7900aed9ad7c4745ac0da333eb4af0fd99a7dab1 /sample
parentb5ac7b0f0a71dbb8d1adbbf3c1c0ec88df458531 (diff)
downloadxbyak-62be84cc87488b2c96a5504ad5dcc4758d7e43a2.tar.gz
xbyak-62be84cc87488b2c96a5504ad5dcc4758d7e43a2.zip
fix detection of boost
Diffstat (limited to 'sample')
-rw-r--r--sample/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/sample/Makefile b/sample/Makefile
index 7e8ab7b..9166360 100644
--- a/sample/Makefile
+++ b/sample/Makefile
@@ -1,9 +1,7 @@
XBYAK_INC=../xbyak/xbyak.h
CXX?=g++
-#BOOST_EXIST=$(shell echo "#include <boost/spirit/core.hpp>" | $CXX -x c++ -c - 2>/dev/null && echo 1)
-# I don't know why the above code causes an error on GitHub action.
-BOOST_EXIST?=0
+BOOST_EXIST=$(shell echo "#include <boost/spirit/core.hpp>" | $(CXX) -x c++ -c - 2>/dev/null && echo 1)
UNAME_M=$(shell uname -m)
ONLY_64BIT=0