aboutsummaryrefslogtreecommitdiff
path: root/etc/environments/default
diff options
context:
space:
mode:
Diffstat (limited to 'etc/environments/default')
-rwxr-xr-xetc/environments/default9
1 files changed, 4 insertions, 5 deletions
diff --git a/etc/environments/default b/etc/environments/default
index cee5ed2..16e39d1 100755
--- a/etc/environments/default
+++ b/etc/environments/default
@@ -7,11 +7,9 @@
#
# Environment setup script for C/C++ compilation.
#
-# Note that we assume the compiler's default target is x86_64-* and, if
-# requested, i?86-* can be selected with -m32. For other targets you will
-# need to adjust the mode selection below.
-#
+# NOTE: don't forget to adjust the target mode selection below.
+#
c=gcc
cxx=g++
@@ -23,9 +21,10 @@ set -e # Exit on errors.
# Based on target determine what we are building.
#
+mode=
case "$1" in
x86_64-*)
- mode=
+ #mode="config.cc.coptions+=-m64"
;;
i?86-*)
mode="config.cc.coptions+=-m32"