ad1c74c580137453f74dd64ae9b9609f555cf519
[openwrt.git] / package / opkg / patches / 004-host_cpu.patch
1 --- a/libbb/Makefile.am
2 +++ b/libbb/Makefile.am
3 @@ -1,6 +1,6 @@
4 HOST_CPU=@host_cpu@
5 BUILD_CPU=@build_cpu@
6 -ALL_CFLAGS=-g -O -Wall -DHOST_CPU_STR=\"@host_cpu@\" -DBUILD_CPU=@build_cpu@
7 +ALL_CFLAGS=-g -O -Wall -DHOST_CPU_STR=\"$(HOST_CPU)\" -DBUILD_CPU=@build_cpu@
8
9 noinst_LTLIBRARIES = libbb.la
10
11 --- a/libopkg/Makefile.am
12 +++ b/libopkg/Makefile.am
13 @@ -1,5 +1,5 @@
14 -
15 -AM_CFLAGS=-Wall -Werror -DHOST_CPU_STR=\"@host_cpu@\" -DBUILD_CPU=@build_cpu@ -DLIBDIR=\"@libdir@\" -DOPKGLIBDIR=\"@opkglibdir@\" -DOPKGETCDIR=\"@opkgetcdir@\" -DDATADIR=\"@datadir@\" -I$(top_srcdir) $(BIGENDIAN_CFLAGS) $(CURL_CFLAGS) $(GPGME_CFLAGS) $(PATHFINDER_CFLAGS)
16 +HOST_CPU=@host_cpu@
17 +AM_CFLAGS=-Wall -Werror -DHOST_CPU_STR=\"$(HOST_CPU)\" -DBUILD_CPU=@build_cpu@ -DLIBDIR=\"@libdir@\" -DOPKGLIBDIR=\"@opkglibdir@\" -DOPKGETCDIR=\"@opkgetcdir@\" -DDATADIR=\"@datadir@\" -I$(top_srcdir) $(BIGENDIAN_CFLAGS) $(CURL_CFLAGS) $(GPGME_CFLAGS) $(PATHFINDER_CFLAGS)
18
19 libopkg_includedir=$(includedir)/libopkg
20 libopkg_include_HEADERS= opkg.h
This page took 0.040533 seconds and 3 git commands to generate.