star-3d

Surface structuring for efficient 3D geometric queries
git clone git://git.meso-star.fr/star-3d.git
Log | Files | Refs | README | LICENSE

commit 7a24f4d4bd10a54162c64d6a64aee326cf369270
parent a6e4608a75495a31c6e746ac0367603e6e3911c5
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu, 18 May 2023 16:35:51 +0200

Upd the flags used to link the shared library

Some flags used for compilation were missing when linking to the shared
library, although GCC encouraged their use. From a GCC footnote on the
-shared option: "Failing to supply the correct flags may lead to subtle
defects. Supplying them in cases where they are not necessary is
innocuous."

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

diff --git a/Makefile b/Makefile @@ -64,7 +64,7 @@ build_library: .config $(DEP) $(OBJ): config.mk $(LIBNAME_SHARED): $(OBJ) - $(CC) -std=c99 $(CFLAGS) -o $@ $(OBJ) $(LDFLAGS) $(SOFLAGS) $(DPDC_LIBS) + $(CC) -std=c99 $(CFLAGS) $(DPDC_CFLAGS) -o $@ $(OBJ) $(LDFLAGS) $(SOFLAGS) $(DPDC_LIBS) $(LIBNAME_STATIC): $(OBJ) $(AR) -rc $@ $?