004-host_cpu.patch 1.0 KB

1234567891011121314151617181920
  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. noinst_LTLIBRARIES = libbb.la
  9. --- a/libopkg/Makefile.am
  10. +++ b/libopkg/Makefile.am
  11. @@ -1,5 +1,5 @@
  12. -
  13. -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)
  14. +HOST_CPU=@host_cpu@
  15. +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)
  16. libopkg_includedir=$(includedir)/libopkg
  17. libopkg_include_HEADERS= *.h