pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Error building clang with gcc on 5.0 + trivial workaround

Building lang/clang I get this error:

llvm[1]: Compiling ConvertUTF.c for Release build
cc1: error: unrecognized command line option "-Wno-missing-field-initializers"

[fallout snipped]

Workaround, for anyone searching through the list archives:

"make" the package, wait for the error, find the file "Makefile.config" in the object directory and comment out the line mentioning the option "-Wno-missing-field-initializers", "make" again.

I guess the gcc version in 5.0 is just old.


Home | Main Index | Thread Index | Old Index