summaryrefslogtreecommitdiff
path: root/src/ortho/gcc
diff options
context:
space:
mode:
authorTristan Gingold2014-11-14 21:49:47 +0100
committerTristan Gingold2014-11-14 21:49:47 +0100
commitb964b0c461f43b33386218bf11ee37b5f83f023f (patch)
treef05f49ad74132e768000f262e34e91bdb002ce26 /src/ortho/gcc
parent9d427050993403c6e80f7c5254a1fbc2fd20fc09 (diff)
downloadghdl-b964b0c461f43b33386218bf11ee37b5f83f023f.tar.gz
ghdl-b964b0c461f43b33386218bf11ee37b5f83f023f.tar.bz2
ghdl-b964b0c461f43b33386218bf11ee37b5f83f023f.zip
Adjusr gcc local Makefile.
Diffstat (limited to 'src/ortho/gcc')
-rw-r--r--src/ortho/gcc/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ortho/gcc/Makefile b/src/ortho/gcc/Makefile
index 020abe0..ebaf418 100644
--- a/src/ortho/gcc/Makefile
+++ b/src/ortho/gcc/Makefile
@@ -35,12 +35,12 @@ include $(ortho_srcdir)/Makefile.inc
AGCC_INC_FLAGS=-I$(AGCC_GCCOBJ_DIR)/gcc -I$(AGCC_GCCSRC_DIR)/include \
-I$(AGCC_GCCSRC_DIR)/gcc -I$(AGCC_GCCSRC_DIR)/gcc/config \
-I$(AGCC_GCCSRC_DIR)/libcpp/include $(GMPINC)
-AGCC_CFLAGS=-g -Wall -DIN_GCC $(AGCC_INC_FLAGS)
+AGCC_CFLAGS=-DIN_GCC_FRONTEND -Wall -DIN_GCC -DHAVE_CONFIG_H $(AGCC_INC_FLAGS)
ortho-lang.o: $(agcc_srcdir)/ortho-lang.c \
$(AGCC_GCCOBJ_DIR)gcc/gtype-vhdl.h \
$(AGCC_GCCOBJ_DIR)gcc/gt-vhdl-ortho-lang.h
- $(COMPILER) -c -o $@ $< $(AGCC_CFLAGS) $(INCLUDES)
+ $(COMPILER) -c -o $@ $< $(AGCC_CFLAGS) $(CXXFLAGS) $(INCLUDES)
AGCC_LOCAL_OBJS=ortho-lang.o
@@ -65,7 +65,7 @@ LIBS = $(AGCC_GCCOBJ_DIR)/gcc/libcommon.a \
$(LIBIBERTY) $(LIBDECNUMBER) $(HOST_LIBS)
$(ortho_exec): $(AGCC_DEPS) $(orthobe_srcdir)/ortho_gcc.ads force
- $(GNATMAKE) -o $@ -g -aI$(ortho_srcdir) \
+ $(GNATMAKE) -o $@ -aI$(ortho_srcdir) \
-aI$(ortho_srcdir)/gcc $(GNAT_FLAGS) ortho_gcc-main \
-bargs -E -largs --LINK=$(LINKER) $(AGCC_OBJS) \
$(BACKEND) $(LIBS) $(BACKENDLIBS)