Package: mosh
Version: 1.2-1
Severity: wishlist

If I try to build mosh with

DEB_BUILD_OPTIONS='nostrip debug noopt' fakeroot apt-get --build source mosh

it still uses -O2 with gcc:

...
make[3]: Entering directory `/home/lindi/tmp/mosh-1.2/src'
Making all in protobufs
make[4]: Entering directory `/home/lindi/tmp/mosh-1.2/src/protobufs'
/usr/bin/protoc --cpp_out=. -I. userinput.proto
/usr/bin/protoc --cpp_out=. -I. hostinput.proto
/usr/bin/protoc --cpp_out=. -I. transportinstruction.proto
make  all-am
make[5]: Entering directory `/home/lindi/tmp/mosh-1.2/src/protobufs'
g++ -DHAVE_CONFIG_H -I. -I../..  -pthread    -Wall -Werror -fno-strict-overflow 
-D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param 
ssp-buffer-size=1 -fPIE -fno-default-inline -pipe -g -O2 -c -o userinput.pb.o 
userinput.pb.cc
g++ -DHAVE_CONFIG_H -I. -I../..  -pthread    -Wall -Werror -fno-strict-overflow 
-D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param 
ssp-buffer-size=1 -fPIE -fno-default-inline -pipe -g -O2 -c -o hostinput.pb.o 
hostinput.pb.cc
g++ -DHAVE_CONFIG_H -I. -I../..  -pthread    -Wall -Werror -fno-strict-overflow 
-D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param 
ssp-buffer-size=1 -fPIE -fno-default-inline -pipe -g -O2 -c -o 
transportinstruction.pb.o transportinstruction.pb.cc
...

This makes debugging difficult.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/6 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to