> Replace > make CFLAGS="%{optflags} -X11" %{?_smp_mflags} > with > make CFLAGS="%{optflags}" LDFLAGS="-lX11" %{?_smp_mflags} This is still not really ideal. For the long run, you should be fixing the upstream package so that it passes -lX11 where it needs it. The most proper change keeps -lX11 at the end of the link line, rather than the beginning. Thanks, Roland -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel