Re: noopt not working

2016-04-24 Thread Shawn Sörbom
On Sunday, April 24, 2016 13:22:59 Jakub Wilk wrote: > * Shawn Sörbom , 2016-04-23, 15:28: > >The problem is that optimization appears to cause a segfault during > >runtime. > > I'd normally advise fixing the root cause of segfault, instead of > disabling optimization, ... > >

Re: noopt not working

2016-04-24 Thread Jakub Wilk
* Shawn Sörbom , 2016-04-23, 15:28: The problem is that optimization appears to cause a segfault during runtime. I'd normally advise fixing the root cause of segfault, instead of disabling optimization, ... https://github.com/devshane/zork ... but trying to wrap your

Re: noopt not working

2016-04-23 Thread Andrey Rahmatullin
On Sat, Apr 23, 2016 at 03:28:13PM -0700, Shawn Sörbom wrote: > # see FEATURE AREAS in dpkg-buildflags(1) > export DEB_BUILD_MAINT_OPTIONS = hardening=+all noopt I didn't know DEB_BUILD_MAINT_OPTIONS supports noopt. -- WBR, wRAR signature.asc Description: PGP signature

Re: noopt not working

2016-04-23 Thread Shawn Sörbom
On Saturday, April 23, 2016 22:16:50 Jakub Wilk wrote: > * Shawn Sörbom , 2016-04-23, 12:47: > >In a debian/rules file, I have the variable > >export DEB_BUILD_OPTIONS=noopt > > You should never do that in debian/rules. > DEB_BUILD_OPTIONS is supposed to be set by the user who

Re: noopt not working

2016-04-23 Thread Jakub Wilk
* Shawn Sörbom , 2016-04-23, 12:47: In a debian/rules file, I have the variable export DEB_BUILD_OPTIONS=noopt You should never do that in debian/rules. DEB_BUILD_OPTIONS is supposed to be set by the user who builds the package. but dpkg-buildflags --get CFLAGS returns -g

Re: noopt not working

2016-04-23 Thread Andrey Rahmatullin
On Sat, Apr 23, 2016 at 12:47:27PM -0700, Shawn Sörbom wrote: > In a debian/rules file, I have the variable > export DEB_BUILD_OPTIONS=noopt You shouldn't modify the DEB_BUILD_OPTIONS variable (or, even worse, to overwrite it) in d/rules. > What am I doing wrong? btw, the makefile in question

noopt not working

2016-04-23 Thread Shawn Sörbom
In a debian/rules file, I have the variable export DEB_BUILD_OPTIONS=noopt but dpkg-buildflags --get CFLAGS returns -g -O2 -fstack-protector-strong -Wformat -Werror=format-security What am I doing wrong? btw, the makefile in question has "-02" set in CFLAGS. Do I need to patch it? I'm assuming