Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

Commit

Permalink
FIX: Moved linker options to the correct automake variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
yvoinov committed Sep 23, 2024
1 parent a4f9f14 commit 1fc28e6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,7 @@ IMPROVEMENT: Got rid dlopen call due to unified preload scheme for all platforms
09-22-2024
==========
IMPROVEMENT: Complete refactoring; no more if's in wrapper functions.

09-23-2024
==========
FIX: Moved linker options to the correct automake variable.
2 changes: 1 addition & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AM_CPPFLAGS = -I$(top_srcdir)/src
AM_LDFLAGS = -Wl,--wrap=malloc -Wl,--wrap=free -Wl,--wrap=cfree -Wl,--wrap=realloc -Wl,--wrap=calloc -Wl,--wrap=memalign -Wl,--wrap=posix_memalign -Wl,--wrap=aligned_alloc -Wl,--wrap=valloc -Wl,--wrap=pvalloc -Wl,--wrap=malloc_usable_size -Wl,--wrap=malloc_trim
AM_CXXFLAGS = -Wl,--wrap=malloc -Wl,--wrap=free -Wl,--wrap=cfree -Wl,--wrap=realloc -Wl,--wrap=calloc -Wl,--wrap=memalign -Wl,--wrap=posix_memalign -Wl,--wrap=aligned_alloc -Wl,--wrap=valloc -Wl,--wrap=pvalloc -Wl,--wrap=malloc_usable_size -Wl,--wrap=malloc_trim

libmemproxy_la_CXXFLAGS = @CXXFLAGS@ -fPIC -DCONF_FILE=$(sysconfdir)/$(PACKAGE_NAME).conf
libmemproxy_la_LDFLAGS = @LDFLAGS@ -shared -version-info @MEMPROXY_CURRENT@:@MEMPROXY_REVISION@:@MEMPROXY_AGE@
Expand Down
4 changes: 2 additions & 2 deletions src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,9 @@ am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/autoconf.h.in \
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AM_CXXFLAGS = @AM_CXXFLAGS@
AM_CXXFLAGS = -Wl,--wrap=malloc -Wl,--wrap=free -Wl,--wrap=cfree -Wl,--wrap=realloc -Wl,--wrap=calloc -Wl,--wrap=memalign -Wl,--wrap=posix_memalign -Wl,--wrap=aligned_alloc -Wl,--wrap=valloc -Wl,--wrap=pvalloc -Wl,--wrap=malloc_usable_size -Wl,--wrap=malloc_trim
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AM_LDFLAGS = -Wl,--wrap=malloc -Wl,--wrap=free -Wl,--wrap=cfree -Wl,--wrap=realloc -Wl,--wrap=calloc -Wl,--wrap=memalign -Wl,--wrap=posix_memalign -Wl,--wrap=aligned_alloc -Wl,--wrap=valloc -Wl,--wrap=pvalloc -Wl,--wrap=malloc_usable_size -Wl,--wrap=malloc_trim
AM_LDFLAGS = @AM_LDFLAGS@
AR = @AR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
Expand Down

0 comments on commit 1fc28e6

Please sign in to comment.