aboutsummaryrefslogtreecommitdiffstats
path: root/erts/lib_src/Makefile.in
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2010-01-19 13:21:37 +0000
committerErlang/OTP <[email protected]>2010-01-19 13:21:37 +0000
commit9ef7d5424fee7cd703f6fad30786358ec36a3749 (patch)
tree5396f3e6b61e861b3684710f8029a88415d7e6a5 /erts/lib_src/Makefile.in
parentcd1a07009858ba01a2a095ffb9f863d2225e572c (diff)
downloadotp-9ef7d5424fee7cd703f6fad30786358ec36a3749.tar.gz
otp-9ef7d5424fee7cd703f6fad30786358ec36a3749.tar.bz2
otp-9ef7d5424fee7cd703f6fad30786358ec36a3749.zip
OTP-8373 ERTS makefiles used to detect the use of a gcc C compiler by
checking if CC equaled gcc. That is, the makefiles failed to detect gcc C compilers with other command line names than gcc. `configure' now substitute GCC into the makefiles. If CC is a gcc C compiler, GCC will have the value yes. (Thanks to Jean-S�bastien P�dron)
Diffstat (limited to 'erts/lib_src/Makefile.in')
-rw-r--r--erts/lib_src/Makefile.in13
1 files changed, 7 insertions, 6 deletions
diff --git a/erts/lib_src/Makefile.in b/erts/lib_src/Makefile.in
index ce5c846677..1d2cc7cb0c 100644
--- a/erts/lib_src/Makefile.in
+++ b/erts/lib_src/Makefile.in
@@ -1,19 +1,19 @@
#
# %CopyrightBegin%
-#
-# Copyright Ericsson AB 2004-2009. All Rights Reserved.
-#
+#
+# Copyright Ericsson AB 2004-2010. All Rights Reserved.
+#
# The contents of this file are subject to the Erlang Public License,
# Version 1.1, (the "License"); you may not use this file except in
# compliance with the License. You should have received a copy of the
# Erlang Public License along with this software. If not, it can be
# retrieved online at http://www.erlang.org/.
-#
+#
# Software distributed under the License is distributed on an "AS IS"
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
# the License for the specific language governing rights and limitations
# under the License.
-#
+#
# %CopyrightEnd%
#
@@ -24,6 +24,7 @@ OMIT_OMIT_FP=no
CC=@CC@
+GCC=@GCC@
LD=@LD@
AR=@AR@
RANLIB=@RANLIB@
@@ -114,7 +115,7 @@ endif
CREATE_DIRS=
-ifeq ($(CC)-$(OMIT_FP), gcc-true)
+ifeq ($(GCC)-$(OMIT_FP),yes-true)
CFLAGS += -fomit-frame-pointer
endif