summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:15:57 (EST)
committer ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:15:57 (EST)
commit872f7a6ca2c280d9c0df93e20956ce64e3636783 (patch)
treef437c410581a3651ea7f7c4b67e45d8a7e79a29c
parent8150da195475d0f868797dc125a138883bcb6ba7 (diff)
opkg: remove per-target CFLAGS
git-svn-id: http://opkg.googlecode.com/svn/trunk@104 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
-rw-r--r--libopkg/Makefile.am3
-rw-r--r--src/Makefile.am2
2 files changed, 1 insertions, 4 deletions
diff --git a/libopkg/Makefile.am b/libopkg/Makefile.am
index cb2eb7a..c3afb5d 100644
--- a/libopkg/Makefile.am
+++ b/libopkg/Makefile.am
@@ -1,5 +1,5 @@
-ALL_CFLAGS=-Wall -Werror -DHOST_CPU_STR=\"@host_cpu@\" -DBUILD_CPU=@build_cpu@ -DLIBDIR=\"@libdir@\" -DOPKGLIBDIR=\"@opkglibdir@\" -DDATADIR=\"@datadir@\" -I$(top_srcdir)
+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)
libopkg_includedir=$(includedir)/libopkg
libopkg_include_HEADERS= opkg.h
@@ -36,7 +36,6 @@ libopkg_la_SOURCES = \
$(opkg_cmd_sources) $(opkg_db_sources) \
$(opkg_util_sources) $(opkg_list_sources)
-libopkg_la_CFLAGS = $(ALL_CFLAGS) $(BIGENDIAN_CFLAGS) $(CURL_CFLAGS) $(GPGME_CFLAGS)
libopkg_la_LIBADD = $(top_builddir)/libbb/libbb.la $(CURL_LIBS) $(GPGME_LIBS)
# make sure we only export symbols that are for public use
libopkg_la_LDFLAGS = -export-symbols-regex "^opkg_.*"
diff --git a/src/Makefile.am b/src/Makefile.am
index 965ca11..e8e6dce 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,9 +1,7 @@
bin_PROGRAMS = opkg-cl
-#lib_LTLIBRARIES = libopkg.la
opkg_cl_SOURCES = opkg-frontend.c
-opkg_cl_CFLAGS = $(ALL_CFLAGS)
opkg_cl_LDADD = $(top_builddir)/libopkg/libopkg.la \
$(top_builddir)/libbb/libbb.la