Accepting request 86675 from home:uli_suse:branches:devel:libraries:c_c++

- cross-build fix: use %__cc, %__cxx macros

OBS-URL: https://build.opensuse.org/request/show/86675
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/adolc?expand=0&rev=22
This commit is contained in:
Dirk Mueller 2011-10-05 15:23:01 +00:00 committed by Git OBS Bridge
parent 6a6fc5576a
commit c27f68f46a
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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