Build system corrupts LDFLAGS options

Fatih Aşıcı fatih.asici at gmail.com
Sun Jun 17 12:48:26 EDT 2007


Hi,

I am trying to compile hugs98 with

LDFLAGS="-Wl,-Bdirect -Wl,-hashvals -Wl,-zdynsort"

While compiling OpenGL stuff, somehow it changes LDFLAGS to

-Wl -Bdirect -hashvals -zdynsort

and causes the build process to fail with the following messages:

i686-pc-linux-gnu-gcc: unrecognized option `-hashvals'
i686-pc-linux-gnu-gcc: unrecognized option `-zdynsort'
cc1: error: unrecognized command line option "-Wl"
runhugs: Error occurred

How can I build hugs98 with these flags?

Thanks,
Fatih


More information about the Hugs-Bugs mailing list