2009-01-17 00:22:01 +08:00
|
|
|
--- a/libbb/Makefile.am
|
|
|
|
+++ b/libbb/Makefile.am
|
|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
HOST_CPU=@host_cpu@
|
|
|
|
BUILD_CPU=@build_cpu@
|
|
|
|
-ALL_CFLAGS=-g -O -Wall -DHOST_CPU_STR=\"@host_cpu@\" -DBUILD_CPU=@build_cpu@
|
|
|
|
+ALL_CFLAGS=-g -O -Wall -DHOST_CPU_STR=\"$(HOST_CPU)\" -DBUILD_CPU=@build_cpu@
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libbb.la
|
|
|
|
|
|
|
|
--- a/libopkg/Makefile.am
|
|
|
|
+++ b/libopkg/Makefile.am
|
2009-08-07 04:08:27 +08:00
|
|
|
@@ -1,5 +1,5 @@
|
|
|
|
-
|
2010-01-07 20:37:49 +08:00
|
|
|
-AM_CFLAGS=-Wall -DHOST_CPU_STR=\"@host_cpu@\" -DBUILD_CPU=@build_cpu@ -DLIBDIR=\"@libdir@\" -DOPKGLIBDIR=\"@opkglibdir@\" -DOPKGETCDIR=\"@opkgetcdir@\" -DOPKGLOCKFILE=\"@opkglockfile@\" -DDATADIR=\"@datadir@\" -I$(top_srcdir) $(BIGENDIAN_CFLAGS) $(CURL_CFLAGS) $(GPGME_CFLAGS) $(PATHFINDER_CFLAGS)
|
2009-01-17 00:22:01 +08:00
|
|
|
+HOST_CPU=@host_cpu@
|
2010-01-07 20:37:49 +08:00
|
|
|
+AM_CFLAGS=-Wall -DHOST_CPU_STR=\"$(HOST_CPU)\" -DBUILD_CPU=@build_cpu@ -DLIBDIR=\"@libdir@\" -DOPKGLIBDIR=\"@opkglibdir@\" -DOPKGETCDIR=\"@opkgetcdir@\" -DOPKGLOCKFILE=\"@opkglockfile@\" -DDATADIR=\"@datadir@\" -I$(top_srcdir) $(BIGENDIAN_CFLAGS) $(CURL_CFLAGS) $(GPGME_CFLAGS) $(PATHFINDER_CFLAGS)
|
2009-01-17 00:22:01 +08:00
|
|
|
|
|
|
|
libopkg_includedir=$(includedir)/libopkg
|
2009-12-21 05:21:14 +08:00
|
|
|
libopkg_include_HEADERS= *.h
|