-rw-r--r-- | core/multimedia/opieplayer/libmad/libmad.pro | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/multimedia/opieplayer/libmad/libmad.pro b/core/multimedia/opieplayer/libmad/libmad.pro index 08717da..b676d5a 100644 --- a/core/multimedia/opieplayer/libmad/libmad.pro +++ b/core/multimedia/opieplayer/libmad/libmad.pro @@ -1,7 +1 @@ -QMAKE_CFLAGS += $(if $(CONFIG_TARGET_X86),-DFPM_INTEL) \ - $(if $(CONFIG_TARGET_IPAQ),-DFPM_ARM) \ - $(if $(CONFIG_TARGET_SHARP),-DFPM_ARM) -QMAKE_CXXFLAGS += $(if $(CONFIG_TARGET_X86),-DFPM_INTEL) \ - $(if $(CONFIG_TARGET_IPAQ),-DFPM_ARM) \ - $(if $(CONFIG_TARGET_SHARP),-DFPM_ARM) TEMPLATE = lib @@ -19,2 +13,8 @@ VERSION = 1.0.0 +contains(QMAKE_CXX, -DQT_QWS_IPAQ) | contains(QMAKE_CXX, -DQT_QWS_SHARP) { +DEFINES += FPM_ARM +} else { +DEFINES += FPM_INTEL +} + include ( $(OPIEDIR)/include.pro ) |