summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorNikolai Merinov <n.merinov@samsung.com>2019-01-28 20:47:23 +0300
committerDongHun Kwak <dh0128.kwak@samsung.com>2019-12-26 08:58:25 +0900
commitd4bd210c4fbe4369667078ff79f9b59143cfe7d7 (patch)
tree084cef5a63ca43f75813bb38843f12e834915842 /packaging
parentca62e6e1b6cb57421f026fe91e6dec9039cceab7 (diff)
downloaddb4-d4bd210c4fbe4369667078ff79f9b59143cfe7d7.tar.gz
db4-d4bd210c4fbe4369667078ff79f9b59143cfe7d7.tar.bz2
db4-d4bd210c4fbe4369667078ff79f9b59143cfe7d7.zip
Change function name to not conflict with clang built-in, Use CC instead of hardcoded gcc Change-Id: I91eebf19d7d9506482ed7d95ce8b9cb56c335521
Diffstat (limited to 'packaging')
-rw-r--r--packaging/db4.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/db4.spec b/packaging/db4.spec
index e1594ce1..417e0256 100644
--- a/packaging/db4.spec
+++ b/packaging/db4.spec
@@ -72,7 +72,7 @@ DIST_DATE=`date '+%B %e, %Y' --date="@$LAST_MOD"`
sed -i -e "s/^DB_RELEASE_DATE=.*$/DB_RELEASE_DATE=\"$DIST_DATE\"/" RELEASE
./s_config
CFLAGS="%{optflags} -fno-strict-aliasing"
-CC=gcc
+CC="${CC:-gcc}"
export CFLAGS CXXFLAGS CC
#
# Build now the NPTL version