Overview

Request 1466 (accepted)

Honour CFLAGS, CXXFLAGS, fix debuginfo..

Submit package home:crrodriguez:branches:Essentials / x265 to package Essentials / x265

x265.changes Changed
x
 
1
@@ -1,4 +1,10 @@
2
 -------------------------------------------------------------------
3
+Mon Dec  8 04:53:31 UTC 2014 - crrodriguez@opensuse.org
4
+
5
+- Ensure we use the proper CXXFLAGS, CFLAGS and therefore
6
+  debuginfo packages are generated correctly.
7
+
8
+-------------------------------------------------------------------
9
 Sat Oct  4 15:24:23 UTC 2014 - aloisio@gmx.com
10
 
11
 - Bumped to version hg20140928
12
x265.spec Changed
20
 
1
@@ -50,12 +50,15 @@
2
 cd -
3
 %define FAKE_BUILDDATE %(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
4
 sed -i -e "s/0.0/%{soname}.0/g" ../../source/cmake/version.cmake
5
-cmake  -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_TESTS=ON -G "Unix Makefiles" ../../source
6
-cmake -DCMAKE_INSTALL_PREFIX=/usr ../../source
7
+
8
 
9
 %build
10
+export CXXFLAGS="%optflags"
11
+export CFLAGS="%optflags"
12
+cmake  -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_TESTS=ON -G "Unix Makefiles" ../../source
13
+cmake -DCMAKE_INSTALL_PREFIX=/usr ../../source
14
 #./make-Makefiles.bash
15
-make %{?_smp_mflags}
16
+make %{?_smp_mflags} VERBOSE=1
17
 
18
 %install
19
 %makeinstall
20
Refresh
Refresh
Request History
crrodriguez's avatar

crrodriguez created request over 10 years ago

Honour CFLAGS, CXXFLAGS, fix debuginfo..


Olaf Hering's avatar

olh accepted request over 10 years ago