diff --git a/adolc.changes b/adolc.changes index 4ac320a..7f27306 100644 --- a/adolc.changes +++ b/adolc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 5 12:04:37 UTC 2011 - uli@suse.com + +- cross-build fix: use %__cc, %__cxx macros + ------------------------------------------------------------------- Fri Sep 16 19:07:38 UTC 2011 - jengelh@medozas.de diff --git a/adolc.spec b/adolc.spec index 8c8858c..7ed4c81 100644 --- a/adolc.spec +++ b/adolc.spec @@ -110,7 +110,11 @@ popd %build pushd ThirdParty/ColPack -make %{_smp_mflags} EXTRA_FLAGS="$RPM_OPT_FLAGS" CXXFLAGS+="$RPM_OPT_FLAGS" +make %{_smp_mflags} EXTRA_FLAGS="$RPM_OPT_FLAGS" \ + CXXFLAGS+="$RPM_OPT_FLAGS" \ + CC_COMPILER="%__cxx" \ + CC_LINKER="%__cxx" \ + CXX="%__cxx" popd autoreconf -v --install --force %configure --prefix=/usr