Changeset 25659


Ignore:
Timestamp:
2011-02-22T13:12:59+01:00 (6 years ago)
Author:
mirko
Message:

[packages/qt4] we need to pass all the environment variables not just to $(QMAKE) but also to $(MAKE), because Makefiles may invoke qmake once again for creating further Makefiles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/Xorg/lib/qt4/files/qmake.mk

    r25658 r25659  
    4141endef 
    4242 
     43# we need to pass everything to $(MAKE) as well, as Makefiles may invoke qmake once again for creating further Makefiles 
    4344define Build/Compile/Default 
     45        TARGET_CC="$(TARGET_CROSS)gcc" \ 
     46        TARGET_CXX="$(TARGET_CROSS)g++" \ 
     47        TARGET_AR="$(TARGET_CROSS)ar cqs" \ 
     48        TARGET_OBJCOPY="$(TARGET_CROSS)objcopy" \ 
     49        TARGET_RANLIB="$(TARGET_CROSS)ranlib" \ 
     50        TARGET_CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \ 
     51        TARGET_CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \ 
     52        TARGET_LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" \ 
     53        TARGET_INCDIRS="$(TARGET_INCDIRS)" \ 
     54        TARGET_LIBDIRS="$(TARGET_LIBDIRS)" \ 
     55        TARGET_LIBS="$(TARGET_LIBS)" \ 
     56        STAGING_DIR_HOST="$(STAGING_DIR)/../host" \ 
     57        STAGING_DIR="$(STAGING_DIR)" \ 
    4458        $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/$(MAKE_PATH) \ 
    4559                $(1); 
Note: See TracChangeset for help on using the changeset viewer.