star-sp

Random number generators and distributions
git clone git://git.meso-star.fr/star-sp.git
Log | Files | Refs | README | LICENSE

commit 5801a37b0937dcd0276ae60fba30ab4333bc40fe
parent 5d75d31083c86bb7ab5f7cd624b076337baece55
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu, 18 May 2023 16:25:31 +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 @@ -63,7 +63,7 @@ build_library: .config $(DEP) $(OBJ): config.mk $(LIBNAME_SHARED): $(OBJ) - $(CXX) $(CXXFLAGS) -o $@ $(OBJ) $(LDFLAGS) $(SOFLAGS) $(DPDC_LIBS) + $(CXX) $(CXXFLAGS) $(AES_CFLAGS) $(DPDC_CFLAGS) -o $@ $(OBJ) $(LDFLAGS) $(SOFLAGS) $(DPDC_LIBS) $(LIBNAME_STATIC): $(OBJ) $(AR) -rc $@ $?