<div dir="ltr">Reverted.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 15, 2016 at 12:19 PM, Hannes Reinecke <span dir="ltr"><<a href="mailto:hare@suse.de" target="_blank">hare@suse.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 07/08/2016 06:28 PM, Xose Vazquez Perez wrote:<br>
> OPTFLAGS is not used anywhere, but maybe it's intrusive for distributions.<br>
><br>
> Cc: Mathieu Trudel-Lapierre <<a href="mailto:mathieu.trudel-lapierre@canonical.com">mathieu.trudel-lapierre@canonical.com</a>><br>
> Cc: Dragan Stancevic <<a href="mailto:dragan.stancevic@canonical.com">dragan.stancevic@canonical.com</a>><br>
> Cc: Louis Bouchard <<a href="mailto:louis.bouchard@canonical.com">louis.bouchard@canonical.com</a>><br>
> Cc: Ritesh Raj Sarraf <<a href="mailto:rrs@debian.org">rrs@debian.org</a>><br>
> Cc: Benjamin Marzinski <<a href="mailto:bmarzins@redhat.com">bmarzins@redhat.com</a>><br>
> Cc: Hannes Reinecke <<a href="mailto:hare@suse.de">hare@suse.de</a>><br>
> Cc: Christophe Varoqui <<a href="mailto:christophe.varoqui@opensvc.com">christophe.varoqui@opensvc.com</a>><br>
> Cc: device-mapper development <<a href="mailto:dm-devel@redhat.com">dm-devel@redhat.com</a>><br>
> Signed-off-by: Xose Vazquez Perez <<a href="mailto:xose.vazquez@gmail.com">xose.vazquez@gmail.com</a>><br>
> ---<br>
>  Makefile.inc | 7 +++----<br>
>  1 file changed, 3 insertions(+), 4 deletions(-)<br>
><br>
> diff --git a/Makefile.inc b/Makefile.inc<br>
> index 01d743c..b7077fc 100644<br>
> --- a/Makefile.inc<br>
> +++ b/Makefile.inc<br>
> @@ -60,10 +60,9 @@ RM          = rm -f<br>
>  LN          = ln -sf<br>
>  INSTALL_PROGRAM = install<br>
><br>
> -OPTFLAGS     = -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall \<br>
> -             -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4<br>
> -<br>
> -CFLAGS            = $(OPTFLAGS) -fPIC -DLIB_STRING=\"${LIB}\" -DRUN_DIR=\"${RUN}\"<br>
> +CFLAGS      = -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall \<br>
> +             -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 \<br>
> +             -fPIC -DLIB_STRING=\"${LIB}\" -DRUN_DIR=\"${RUN}\"<br>
>  SHARED_FLAGS = -shared<br>
><br>
>  %.o: %.c<br>
><br>
</div></div>Nope, doesn't work for us.<br>
Our buildsystem is using a distinct set of flags, which we need to use<br>
for the build process.<br>
At the same time we have no idea if there are other flags (like includes<br>
etc) which are required by the build itself.<br>
<br>
Please revert, this breaks our build.<br>
<br>
Cheers,<br>
<br>
Hannes<br>
<span class="HOEnZb"><font color="#888888">--<br>
Dr. Hannes Reinecke                Teamlead Storage & Networking<br>
<a href="mailto:hare@suse.de">hare@suse.de</a>                                   <a href="tel:%2B49%20911%2074053%20688" value="+4991174053688">+49 911 74053 688</a><br>
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg<br>
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton<br>
HRB 21284 (AG Nürnberg)<br>
</font></span></blockquote></div><br></div>