rsys

Basic data structures and low-level features
git clone git://git.meso-star.fr/rsys.git
Log | Files | Refs | README | LICENSE

commit 47bbaedc32a3616bc81c85d7780470e43eeb60eb
parent f5550f6ea939a48533941b0fccfeee7a0317b9ff
Author: vaplv <vaplv@free.fr>
Date:   Thu, 18 May 2023 17:33:32 +0200

Update flags to link the test_lib shared library

Add the CFLAGS used during compilation. This follows the recommendation
of the GCC manual for the -shared option: "For predictable results, you
must also specify the same set of options used for compilation"

Diffstat:
MMakefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -333,6 +333,6 @@ test_lib.o: src/test_library.c src/rsys.h $(CC) $(CFLAGS) -c src/test_library.c -DTEST_LIBRARY_BUILD_LIB -o $@ libtest_lib.so: test_lib.o - $(CC) -o $@ test_lib.o $(LDFLAGS) $(SOFLAGS) + $(CC) $(CFLAGS) -o $@ test_lib.o $(LDFLAGS) $(SOFLAGS) test_library: libtest_lib.so