diff --git a/packages/x11/driver/xf86-video-fglrx/build b/packages/x11/driver/xf86-video-fglrx/build index ecbe74e28d..571ce7aee8 100755 --- a/packages/x11/driver/xf86-video-fglrx/build +++ b/packages/x11/driver/xf86-video-fglrx/build @@ -39,7 +39,7 @@ cd $PKG_BUILD/common/lib/modules/fglrx/build_mod cd 2.6.x sed -i -e 's/ -DPAGE_ATTR_FIX=/-DCOMPAT_ALLOC_USER_SPACE=arch_compat_alloc_user_space -DPAGE_ATTR_FIX=/' Makefile - make CC=${CC} KDIR=$(kernel_path) + LDFLAGS="" make CC=${CC} KDIR=$(kernel_path) cd $ROOT/$PKG_BUILD