summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolai Merinov <n.merinov@samsung.com>2019-02-13 12:11:35 +0300
committerNikolai Merinov <n.merinov@samsung.com>2019-02-13 13:03:37 +0300
commitf19d47386b2fb77d63a391a3e5c6a8cca2838d95 (patch)
tree0b6dd644a46bac35c90ce6e36164cd9718b2d2ba
parente9e5808a8e61ba317886a06b8c3a134a31656db8 (diff)
downloadswap-manager-f19d47386b2fb77d63a391a3e5c6a8cca2838d95.tar.gz
swap-manager-f19d47386b2fb77d63a391a3e5c6a8cca2838d95.tar.bz2
swap-manager-f19d47386b2fb77d63a391a3e5c6a8cca2838d95.zip
Pass system CC to */Makefile
-rw-r--r--packaging/swap-manager.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/swap-manager.spec b/packaging/swap-manager.spec
index f5f0f14..33c398d 100644
--- a/packaging/swap-manager.spec
+++ b/packaging/swap-manager.spec
@@ -133,10 +133,10 @@ cmake -DBINDIR=%{_bindir} -DLIBDIR=%{_libdir} ../src/ && make VERBOSE=1 || false
cd -
# build manager
-cd daemon && make && cd - || false
+cd daemon && make CC="$CC" CPP="$CXX" && cd - || false
# build ui_viewer
-cd ui_viewer && make %{?ARCH:ARCH=%{ARCH}} && cd - || false
+cd ui_viewer && make %{?ARCH:ARCH=%{ARCH}} CC="$CC" CPP="$CXX" && cd - || false
# run tests
%if %{SET_TESTING}