Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Feb 20th, 2011  |  syntax: Diff  |  size: 1.17 KB  |  hits: 51  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff --git a/packages/Xorg/lib/qt4/files/qmake.mk b/packages/Xorg/lib/qt4/files/qmake.mk
  2. index 96ec2a7..c4033ae 100644
  3. --- a/packages/Xorg/lib/qt4/files/qmake.mk
  4. +++ b/packages/Xorg/lib/qt4/files/qmake.mk
  5. @@ -31,7 +31,21 @@ define Build/Configure/Qmake
  6.                 $(PKG_BUILD_DIR)/$(1).pro
  7.  endef
  8.  
  9. +# we need to pass everythign to $(MAKE) as well, as Makefiles may invoke qmake once again for creation of further Makefiles
  10.  define Build/Compile/Default
  11. +       TARGET_CC="$(TARGET_CROSS)gcc" \
  12. +       TARGET_CXX="$(TARGET_CROSS)g++" \
  13. +       TARGET_AR="$(TARGET_CROSS)ar cqs" \
  14. +       TARGET_OBJCOPY="$(TARGET_CROSS)objcopy" \
  15. +       TARGET_RANLIB="$(TARGET_CROSS)ranlib" \
  16. +       TARGET_CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \
  17. +       TARGET_CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \
  18. +       TARGET_LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" \
  19. +       TARGET_INCDIRS="$(TARGET_INCDIRS)" \
  20. +       TARGET_LIBDIRS="$(TARGET_LIBDIRS)" \
  21. +       TARGET_LIBS="$(TARGET_LIBS)" \
  22. +       STAGING_DIR_HOST="$(STAGING_DIR)/../host" \
  23. +       STAGING_DIR="$(STAGING_DIR)" \
  24.         $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/$(MAKE_PATH) \
  25.                 $(1);
  26.  endef