diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-08-03 21:14:57 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-08-03 21:14:57 +0000 |
commit | 502ea147ad9bf98ec7e5d8d0f40d289a27f2d343 (patch) | |
tree | fb5f0cafad0a40e057c2b9c9880a5e03fe2d0259 | |
parent | aa31979b9d795e923f510d8a5b8dcc285527a842 (diff) | |
download | libhubbub-502ea147ad9bf98ec7e5d8d0f40d289a27f2d343.tar.gz libhubbub-502ea147ad9bf98ec7e5d8d0f40d289a27f2d343.tar.bz2 |
Fix buildsystem for cross compilation
svn path=/trunk/hubbub/; revision=4884
-rw-r--r-- | Makefile-riscos | 6 | ||||
-rw-r--r-- | src/Makefile | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/Makefile-riscos b/Makefile-riscos index f05dff2..34b213e 100644 --- a/Makefile-riscos +++ b/Makefile-riscos @@ -13,9 +13,12 @@ MV := mv ECHO := echo MAKE := make PERL := perl -PKGCONFIG := pkg-config +PKGCONFIG := $(GCCSDK_INSTALL_ENV)/ro-pkg-config INSTALL := install SED := sed +LCOV := echo +GENHTML := echo +TOUCH := touch # Toolchain flags WARNFLAGS := -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align \ @@ -35,6 +38,7 @@ MVFLAGS := ECHOFLAGS := MAKEFLAGS := PKGCONFIGFLAGS := +TOUCHFLAGS := EXEEXT := ,ff8 diff --git a/src/Makefile b/src/Makefile index c4b53ff..72b5c3d 100644 --- a/src/Makefile +++ b/src/Makefile @@ -32,8 +32,8 @@ dirstack_$(sp) := $(d) d := $(DIR) # Manipulate include paths -CFLAGS := $(CFLAGS) -I$(d) `pkg-config libparserutils --cflags` -LDFLAGS := $(LDFLAGS) `pkg-config libparserutils --libs` +CFLAGS := $(CFLAGS) -I$(d) `$(PKGCONFIG) libparserutils --cflags` +LDFLAGS := $(LDFLAGS) `$(PKGCONFIG) libparserutils --libs` # Sources SRCS_$(d) := hubbub.c parser.c |