diff options
author | Jiri Olsa <Jiri Olsa jolsa@redhat.com> | 2011-02-15 13:06:46 +0100 |
---|---|---|
committer | Jiri Olsa <Jiri Olsa jolsa@redhat.com> | 2011-02-15 13:06:46 +0100 |
commit | fa6d2d20b68bcf9b151b6d62de48ad685e389310 (patch) | |
tree | 96f93954daa738e0a66c88387bbb9733f1fd3adb | |
parent | c167c2a3a404f5166ffd70a15a09c97cd1883ee8 (diff) | |
download | latrace-fa6d2d20b68bcf9b151b6d62de48ad685e389310.tar.gz latrace-fa6d2d20b68bcf9b151b6d62de48ad685e389310.tar.xz latrace-fa6d2d20b68bcf9b151b6d62de48ad685e389310.zip |
Sebastian Pipping <sping@gentoo.org>
fix LDFLAGS/CFLAGS usage
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/Makefile | 6 |
2 files changed, 8 insertions, 4 deletions
@@ -1,4 +1,8 @@ -2010-01-31 Jiri Olsa <olsajiri@gmail.com> +2011-02-15 Jiri Olsa <olsajiri@gmail.com> + * Sebastian Pipping <sping@gentoo.org> + - fix LDFLAGS/CFLAGS usage + +2011-01-31 Jiri Olsa <olsajiri@gmail.com> * adding support for global symbol config one global symbol tree to rule them all - only one tree is searched during the plt entry/exit diff --git a/src/Makefile b/src/Makefile index eb16064..0ccec47 100644 --- a/src/Makefile +++ b/src/Makefile @@ -19,7 +19,7 @@ # libltaudit.so AUDIT_BIN=libltaudit.so.$(CONFIG_VERSION) -AUDIT_LDFLAGS="-Wl,-init=audit_init" "-Wl,-soname,$(AUDIT_BIN)" -fPIC -shared +AUDIT_LDFLAGS="-Wl,-init=audit_init" "-Wl,-soname,$(AUDIT_BIN)" -fPIC -shared $(LDFLAGS) AUDIT_LIBS=$(LIBS) $(LEXLIB) AUDIT_OBJS=\ @@ -43,7 +43,7 @@ OBJS+=$(AUDIT_OBJS) PROGRAMS+= $(AUDIT_BIN) $(AUDIT_BIN): $(AUDIT_OBJS) - $(QUIET_LD)$(CC) $(AUDIT_LDFLAGS) -o $@ $(AUDIT_OBJS) $(AUDIT_LIBS) + $(QUIET_LD)$(CC) $(CFLAGS) $(AUDIT_LDFLAGS) -o $@ $(AUDIT_OBJS) $(AUDIT_LIBS) install:: $(call install,$(AUDIT_BIN),$(libdir),755) @@ -70,7 +70,7 @@ CPPFLAGS+=-DLT_ARGS_DEF_DIR=\"$(confdir)\" CPPFLAGS+=-DLT_ARGS_DEF_CONF=\"$(sysconfdir)/latrace.conf\" $(LATRACE_BIN): $(LATRACE_OBJS) - $(QUIET_LD)$(CC) $(LDFLAGS) -o $@ $(LATRACE_OBJS) $(LATRACE_LIBS) $(LATRACE_LIB) + $(QUIET_LD)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(LATRACE_OBJS) $(LATRACE_LIBS) $(LATRACE_LIB) install:: $(call install,$(LATRACE_BIN),$(bindir),755) |