aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2016-10-06 00:24:43 +0200
committerLoïc Hoguin <[email protected]>2016-10-06 00:24:43 +0200
commit14db6cd63db0aa0f7a55e3d23700b888349a469c (patch)
treedce61b45d826e005eedd984c71ef18ad445cd85c /Makefile
parent0d0b0d7937f77cd5ee11268863aeab19b65db94d (diff)
downloadcowlib-14db6cd63db0aa0f7a55e3d23700b888349a469c.tar.gz
cowlib-14db6cd63db0aa0f7a55e3d23700b888349a469c.tar.bz2
cowlib-14db6cd63db0aa0f7a55e3d23700b888349a469c.zip
Add temporary option HIPE=1 for compiling natively
We'll see how it'll be done in the future. This should be good enough for experimenting for now.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4b67631..4390a55 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,11 @@ PROJECT_DESCRIPTION = Support library for manipulating Web protocols.
PROJECT_VERSION = 1.3.0
#ERLC_OPTS += +bin_opt_info
+ifdef HIPE
+ ERLC_OPTS += -smp +native
+ TEST_ERLC_OPTS += -smp +native
+endif
+
LOCAL_DEPS = crypto
DIALYZER_OPTS = -Werror_handling -Wunmatched_returns