diff options
author | Nikolai Merinov <n.merinov@samsung.com> | 2019-01-28 20:47:23 +0300 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-12-26 08:58:25 +0900 |
commit | d4bd210c4fbe4369667078ff79f9b59143cfe7d7 (patch) | |
tree | 084cef5a63ca43f75813bb38843f12e834915842 | |
parent | ca62e6e1b6cb57421f026fe91e6dec9039cceab7 (diff) | |
download | db4-d4bd210c4fbe4369667078ff79f9b59143cfe7d7.tar.gz db4-d4bd210c4fbe4369667078ff79f9b59143cfe7d7.tar.bz2 db4-d4bd210c4fbe4369667078ff79f9b59143cfe7d7.zip |
Support build with non-gcc compilerssubmit/tizen_base/20200106.080613submit/tizen_base/20200106.080025submit/tizen_base/20191226.001021submit/tizen_base/20191226.001016submit/tizen_base/20191226.000306
Change function name to not conflict with clang built-in,
Use CC instead of hardcoded gcc
Change-Id: I91eebf19d7d9506482ed7d95ce8b9cb56c335521
-rw-r--r-- | packaging/db4.spec | 2 |
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 |