[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#608345: cuneiform build scripts do not honor DEB_BUILD_OPTIONS=noopt



Package: cuneiform
Version: 1.0.0+dfsg-1
Severity: normal

Note: This version of cuneiform is currently in experimental. I have
not checked if this bug applies to the version in testing/unstable.

cuneiform build process does not seem to honor
DEB_BUILD_OPTIONS=noopt, but rather passes a -O2 to $CC regardless:

------------------------------------------------------------
$ debuild -e DEB_BUILD_OPTIONS="noopt nostrip" -e CC="ccache gcc" -j5
 dpkg-buildpackage -rfakeroot -D -us -uc -j5
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O0
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): 
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O0
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O0
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor):
[...]
make[3]: Entering directory `/home/sliedes/scratch/rec/cuneiform-1.0.0+dfsg/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_report /home/sliedes/scratch/rec/cuneiform-1.0.0+dfsg/obj-x86_64-linux-gnu/CMakeFiles 
[  0%] Building C object cuneiform_src/Kern/ccom/CMakeFiles/ccom.dir/src/ccom.c.o
cd /home/sliedes/scratch/rec/cuneiform-1.0.0+dfsg/obj-x86_64-linux-gnu/cuneiform_src/Kern/ccom && /usr/bin/ccache  gcc -Dccom_EXPORTS -D_USE_RVERLINE_ -D__CCOM__ -g -O0  -O2 -g -fPIC -I/home/sliedes/scratch/rec/cuneiform-1.0.0+dfsg/cuneiform_src/Kern/include -I/home/sliedes/scratch/rec/cuneiform-1.0.0+dfsg/cuneiform_src/Kern/h -I/home/sliedes/scratch/rec/cuneiform-1.0.0+dfsg/cuneiform_src/Kern/hh -I/home/sliedes/scratch/rec/cuneiform-1.0.0+dfsg/cuneiform_src/Kern/hhh -I/home/sliedes/scratch/rec/cuneiform-1.0.0+dfsg/cuneiform_src/Kern/hdebug -I/home/sliedes/scratch/rec/cuneiform-1.0.0+dfsg/cuneiform_src/Kern/hrk -I/home/sliedes/scratch/rec/cuneiform-1.0.0+dfsg/cuneiform_src/Kern/hrkint -I/home/sliedes/scratch/rec/cuneiform-1.0.0+dfsg/cuneiform_src/Kern/hrstr -I/home/sliedes/scratch/rec/cuneiform-1.0.0+dfsg/cuneiform_src/Kern/fon/src -I/home/sliedes/scratch/rec/cuneiform-1.0.0+dfsg/cuneiform_src/Kern/usage -I/home/sliedes/scratch/rec/cuneiform-1.0.0+dfsg/obj-x86_64-linux-gnu/cuneiform_src/Kern/include -I/home/sliedes/scratch/rec/cuneiform-1.0.0+dfsg/cuneiform_src/Kern/ccom/src   -fvisibility=hidden -DHAVE_GCCVISIBILITY -o CMakeFiles/ccom.dir/src/ccom.c.o   -c /home/sliedes/scratch/rec/cuneiform-1.0.0+dfsg/cuneiform_src/Kern/ccom/src/ccom.c
------------------------------------------------------------

Note that the -O0 is superseded by the later -O2.

	Sami

Attachment: signature.asc
Description: Digital signature


Reply to: