From: <ai...@us...> - 2013-12-17 22:45:33
|
Revision: 12876 http://sourceforge.net/p/plplot/code/12876 Author: airwin Date: 2013-12-17 22:45:28 +0000 (Tue, 17 Dec 2013) Log Message: ----------- Separate the previous one-step traditional build of D examples into a compile step and link step. This reduces the amount of work per step that gdc has to do and works around a bug in Debian Wheezy gdc which sometimes segfaults otherwise. The segfaults were consistently observed (until this workaround was made) for the ENABLE_DYNDRIVERS=OFF case for the epa_build environment where there are both extensive compile flags and link flags. gdc did not segfault for the traditional build for the epa_build environment when ENABLE_DYNDRIVERS=ON (presumably because the compile flags and link flags are much less extensive in that case). Modified Paths: -------------- trunk/examples/d/Makefile.examples.in Modified: trunk/examples/d/Makefile.examples.in =================================================================== --- trunk/examples/d/Makefile.examples.in 2013-12-17 21:03:14 UTC (rev 12875) +++ trunk/examples/d/Makefile.examples.in 2013-12-17 22:45:28 UTC (rev 12876) @@ -64,9 +64,11 @@ all: $(EXECUTABLES_list) clean: - rm -f $(EXECUTABLES_list) + rm -f $(EXECUTABLES_list) *.o -.d$(EXEEXT): - $(DC) $< -o $@ $(RPATHCMD) `$(PKG_CONFIG_ENV) pkg-config @PC_STATIC_OPTION@ --cflags --libs plplot$(LIB_TAG)-d` +.d.o: + $(DC) $< -c -o $@ `$(PKG_CONFIG_ENV) pkg-config @PC_STATIC_OPTION@ --cflags plplot$(LIB_TAG)-d` +.o$(EXEEXT): + $(DC) $< -o $@ $(RPATHCMD) `$(PKG_CONFIG_ENV) pkg-config @PC_STATIC_OPTION@ --libs plplot$(LIB_TAG)-d` -.SUFFIXES: .d $(EXEEXT) +.SUFFIXES: .d .o $(EXEEXT) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |