summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/xserver/xserver-xorg_6.8.99.5.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/xserver/xserver-xorg_6.8.99.5.bb b/packages/xserver/xserver-xorg_6.8.99.5.bb
index 034103af06..5dbdbe8e05 100644
--- a/packages/xserver/xserver-xorg_6.8.99.5.bb
+++ b/packages/xserver/xserver-xorg_6.8.99.5.bb
@@ -28,7 +28,7 @@ do_configure() {
echo "#define XnestServer NO" >> config/cf/host.def
echo "#define XdmxServer NO" >> config/cf/host.def
echo "#define CcCmd gcc" >> config/cf/host.def
- echo "#define LdCmd gcc" >> config/cf/host.def
+ echo "#define LdCmd ld" >> config/cf/host.def
echo "#define HasFreetype2 YES" >> config/cf/host.def
echo "#define HasFontconfig YES" >> config/cf/host.def
echo "#define BuildDevelDRIDrivers YES" >>config/cf/host.def
@@ -45,7 +45,7 @@ do_compile() {
make includes
make -C config/util CC="${BUILD_CC}"
for l in font xtrans Xdmcp lbxutil; do make -C lib/$l CC="${CC}" LD="${LD}" CC_STAGING="-I${STAGING_INCDIR}" LD_STAGING="-L${STAGING_LIBDIR}"; done
- make -C programs/Xserver CC="${CC}" LD="${LD}" CC_STAGING="-I${STAGING_INCDIR}" LD_STAGING="-L${STAGING_LIBDIR}" INSTALLED_LIBS=""
+ make -C programs/Xserver CC="${CC}" LD="${LD}" CC_STAGING="-I${STAGING_INCDIR}" LD_STAGING="-L${STAGING_LIBDIR}" INSTALLED_LIBS="" CPP="${CC} -E"
}
do_install() {