Opened 9 years ago

Closed 9 years ago

#617 closed bug (fixed)

python-cspec regex causes invalid compiler options on opensuse

Reported by: lorenz@… Owned by: somebody
Priority: minor Milestone: Singular-spielwiese
Component: dontKnow Version: spielwiese
Keywords: autogen configure Cc: schroeter@…


In opensuse the cflags from the python-config tool contain:

-fmessage-length=0 -grecord-gcc-switches -fstack-protector

In m4/ax_python_embed.m4 line 238 the sed command contains:

-e 's@ -g@@g'

which produces an invalid compiler option -fmessage-length=0record-gcc-switches.

Either this should only replace ' -g ' options (with whitespace on both sides) or the complete flag.

A similar regex is in line 317 of the same file.

Change History (2)

comment:1 Changed 9 years ago by Oleksandr

thanks. i guess it was a silly idea to correct those python flags... end user should be responsible for doing that...

comment:2 Changed 9 years ago by hannes

Resolution: fixed
Status: newclosed

should be fixed (cannot test on opensuse)

Note: See TracTickets for help on using tickets.