[cobalt] add support for cobalt microservers (mips-based)
[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,6 @@
14
15 -AM_CFLAGS=-Wall -Werror -DHOST_CPU_STR=\"@host_cpu@\" -DBUILD_CPU=@build_cpu@ -DLIBDIR=\"@libdir@\" -DOPKGLIBDIR=\"@opkglibdir@\" -DDATADIR=\"@datadir@\" -I$(top_srcdir) $(BIGENDIAN_CFLAGS) $(CURL_CFLAGS) $(GPGME_CFLAGS)
16 +HOST_CPU=@host_cpu@
17 +AM_CFLAGS=-Wall -Werror -DHOST_CPU_STR=\"$(HOST_CPU)\" -DBUILD_CPU=@build_cpu@ -DLIBDIR=\"@libdir@\" -DOPKGLIBDIR=\"@opkglibdir@\" -DDATADIR=\"@datadir@\" -I$(top_srcdir) $(BIGENDIAN_CFLAGS) $(CURL_CFLAGS) $(GPGME_CFLAGS)
18
19 libopkg_includedir=$(includedir)/libopkg
20 libopkg_include_HEADERS= opkg.h
This page took 0.047636 seconds and 5 git commands to generate.