-
-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gildas: apply upstream fix and restore parallel building
- Loading branch information
Showing
2 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
diff -ruN gildas-src-jul18a/admin/Makefile.build gildas-src-jul18a.mod/admin/Makefile.build | ||
--- gildas-src-jul18a/admin/Makefile.build 2018-06-14 14:36:54.000000000 +0200 | ||
+++ gildas-src-jul18a.mod/admin/Makefile.build 2018-07-06 13:31:46.000000000 +0200 | ||
@@ -291,6 +291,13 @@ | ||
win-$(LIB_IDENTITY)-und.def -o $@ $(FLDLIBS) $(LIB_DEPENDS) $(ADD_LIBS) $(SYS_LIBS)) | ||
endif | ||
|
||
+# Dummy rules for modules just so that make consider the module a | ||
+# valid dependency when first parsing the makefiles. This rule should | ||
+# never be applied as the modules are a by-product of the compilation | ||
+# of the object | ||
+$(builddir)/%.mod: | ||
+ echo "dummy" > /dev/null | ||
+ | ||
# Fortran executables | ||
$(bindir)/% : $(builddir)/%.o | $(bindir) | ||
$(FC) $(ALL_FLDFLAGS) $< $(OBJECTS) -o $@ \ |