rebar.config: set CFLAGS/CXXFLAGS/LDFLAGS on Hurd

Use the common CFLAGS/CXXFLAGS/LDFLAGS used on Linux/FreeBSD/etc also
on GNU/Hurd.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/commit/efa697d1
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/tree/efa697d1
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/diff/efa697d1

Branch: refs/heads/master
Commit: efa697d1c9e857dfcf9332447b900f68e824e916
Parents: 8a7c672
Author: Pino Toscano <[email protected]>
Authored: Mon Aug 24 23:08:13 2015 +0200
Committer: Pino Toscano <[email protected]>
Committed: Mon Aug 24 23:08:13 2015 +0200

----------------------------------------------------------------------
 rebar.config | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/blob/efa697d1/rebar.config
----------------------------------------------------------------------
diff --git a/rebar.config b/rebar.config
index 79cae29..9d26448 100644
--- a/rebar.config
+++ b/rebar.config
@@ -7,12 +7,12 @@
 ]}.
 
 {port_env, [
-    {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin)",
+    {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin|gnu)",
         "CFLAGS", "$CFLAGS -Ic_src/ -g -Wall -Werror -O3 
-fno-strict-aliasing"},
-    {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin)",
+    {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin|gnu)",
         "CXXFLAGS", "$CXXFLAGS -Ic_src/ -g -Wall -Werror -O3"},
 
-    {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin)",
+    {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin|gnu)",
         "LDFLAGS", "$LDFLAGS -lstdc++"},
 
     %% OS X Leopard flags for 64-bit

Reply via email to