From adfae35c0439128cbf4e03aadaf6a2feb5e1714b9be20256cfa590bcc3200b13 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 28 Jun 2013 09:51:00 +0000 Subject: [PATCH] Accepting request 181110 from KDE:Distro:Factory - build with LFS_CFLAGS in 32 bit archs. (forwarded request 181089 from elvigia) OBS-URL: https://build.opensuse.org/request/show/181110 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/opencv?expand=0&rev=42 --- opencv.changes | 5 +++++ opencv.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/opencv.changes b/opencv.changes index 84812ea..e9ac7f5 100644 --- a/opencv.changes +++ b/opencv.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 26 20:26:48 UTC 2013 - crrodriguez@opensuse.org + +- build with LFS_CFLAGS in 32 bit archs. + ------------------------------------------------------------------- Fri May 10 09:59:31 UTC 2013 - hrvoje.senjan@gmail.com diff --git a/opencv.spec b/opencv.spec index 6e2d89a..7176050 100644 --- a/opencv.spec +++ b/opencv.spec @@ -115,8 +115,8 @@ sed -i 's/\r$//' samples/c/adaptiveskindetector.cpp \ samples/python/camshift.py %build -export CFLAGS="%{optflags}" -export CXXFLAGS="%{optflags}" +export CFLAGS="%{optflags} $(getconf LFS_CFLAGS)" +export CXXFLAGS="%{optflags} $(getconf LFS_CFLAGS)" mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release \