https://bugzilla.redhat.com/show_bug.cgi?id=1041924
Ralf Corsepius rc040203@freenet.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rc040203@freenet.de
--- Comment #4 from Ralf Corsepius rc040203@freenet.de --- Sigh ... parts of building this package don't honor RPM_OPT_FLAGS and pass bogus compiler arguments:
... ... -I/usr/local/include ... g++ function.o builtin.o complete.o env.o exec.o expand.o highlight.o history.o kill.o parser.o proc.o reader.o sanity.o tokenizer.o wildcard.o wgetopt.o wutil.o input.o output.o intern.o env_universal.o env_universal_common.o input_common.o event.o signal.o io.o parse_util.o common.o screen.o path.o autoload.o parser_keywords.o iothread.o color.o postfork.o builtin_test.o fish.o -Wl,-z,relro -L/usr/local/lib/ -lncurses -lpthread -o fish ...
2 to 3 issues with this: * -I/usr/local/include and -L/usr/local/lib/ should not be passed to the compiler for various reasons.
* The g++ call above doesn't receive the necessary RPM_OPT_FLAGS.