diff options
Diffstat (limited to 'sci-chemistry/molmol/files/ldflags.patch')
-rw-r--r-- | sci-chemistry/molmol/files/ldflags.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sci-chemistry/molmol/files/ldflags.patch b/sci-chemistry/molmol/files/ldflags.patch new file mode 100644 index 000000000000..ff6e06ef490c --- /dev/null +++ b/sci-chemistry/molmol/files/ldflags.patch @@ -0,0 +1,13 @@ +diff --git a/src/main/Makefile b/src/main/Makefile +index 74530fa..102d1b7 100644 +--- a/src/main/Makefile ++++ b/src/main/Makefile +@@ -22,7 +22,7 @@ SRC = $(OBJ:.o=.c) + default: $(PROGRAM) + + $(PROGRAM): $(OBJ) $(LIBS) $(SGLIB) $(TOOLSLIB) +- $(CC) -o $@ $(CFLAGS) $(OBJ) $(LIBS) $(SGLIB) $(TOOLSLIB) $(SYSLIB) ++ $(CC) $(CFLAGS) ${LDFLAGS} -o $@ $(OBJ) $(LIBS) $(SGLIB) $(TOOLSLIB) $(SYSLIB) + + clean: + rm -f $(OBJ) $(PROGRAM) core *.ps |