diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-02 20:12:17 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-02 20:12:17 +0000 |
commit | 3f2a80a2c7328543e5cb08c6a780dbebf0f6edb3 (patch) | |
tree | e80ef4ecfa376559bd305b98797e5d19d99ad9c9 /gcc/melt-module.mk | |
parent | 4edd186092925834447e43ac5ad670189ed77da6 (diff) | |
download | gcc-3f2a80a2c7328543e5cb08c6a780dbebf0f6edb3.tar.gz |
2012-07-02 Basile Starynkevitch <basile@starynkevitch.net>
* Makefile.in (melt-build-param.mk): filter out optimization and
debug compiler flags -O and -g.
* melt-module.mk (%.descr.meltpic.o): Soon obsolete rule.
(%.descriptor.meltpic.o): New rule.
* melt/warmelt-first.melt: Code chunks with variable declarations
need extra braces.
* melt/warmelt-debug.melt: Ditto.
* melt/warmelt-normatch.melt (mg_draw_match_graphviz_file): Ditto.
* melt/warmelt-outobj.melt (output_melt_descriptor): Generate make
rule for a %.descriptor.meltpic.o.
* melt-newbuild.tpl: Much more, still buggy.
* melt-newbuild.mk: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@189178 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/melt-module.mk')
-rw-r--r-- | gcc/melt-module.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/melt-module.mk b/gcc/melt-module.mk index 62c903eb582..20e046943ab 100644 --- a/gcc/melt-module.mk +++ b/gcc/melt-module.mk @@ -265,8 +265,15 @@ $(GCCMELTGEN_BUILD)%.dynamic.meltmdsumedpic.o: $(GCCMELTGEN_BUILD)%.mdsumed.c -## descriptor quasi-flavor, never symlinked! +## descriptor quasi-flavor, never symlinked! this is an obsolete rule! $(GCCMELTGEN_BUILD)%.descr.meltpic.o: + @echo @+@melt-module descr.meltpic @obsoleterule at= $@ left= $< question= $? caret= $^ + $(GCCMELT_CC) $(GCCMELT_DESCRIPTOR_PREPROFLAGS) \ + $(GCCMELT_DESCRIPTOR_FLAGS) $(GCCMELT_CFLAGS) \ + -fPIC -c -o $@ $< + +## descriptor quasi-flavor, never symlinked! +$(GCCMELTGEN_BUILD)%.descriptor.meltpic.o: @echo @+@melt-module descriptor.meltpic at= $@ left= $< question= $? caret= $^ $(GCCMELT_CC) $(GCCMELT_DESCRIPTOR_PREPROFLAGS) \ $(GCCMELT_DESCRIPTOR_FLAGS) $(GCCMELT_CFLAGS) \ |