diff options
Diffstat (limited to 'xpdf')
-rw-r--r-- | xpdf/makefile.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/xpdf/makefile.mk b/xpdf/makefile.mk index 3205582d969b..85c2a8813653 100644 --- a/xpdf/makefile.mk +++ b/xpdf/makefile.mk @@ -93,7 +93,14 @@ BUILD_ACTION=$(GNUMAKE) -j$(EXTMAXPROCESS) .IF "$(COM)"=="GCC" LDFLAGS=-Wl,--enable-runtime-pseudo-reloc-v2 .EXPORT : LDFLAGS -CONFIGURE_ACTION=./configure --without-x --enable-multithreaded --enable-exceptions LIBS=-lgdi32 + +CONFIGURE_ACTION=./configure +CONFIGURE_FLAGS+=--without-x --enable-multithreaded --enable-exceptions LIBS=-lgdi32 + +.IF "$(CROSS_COMPILING)"=="YES" +CONFIGURE_FLAGS+=--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) +.ENDIF + BUILD_ACTION=$(GNUMAKE) -j$(EXTMAXPROCESS) .ELSE CONFIGURE_ACTION= |