mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-29 15:00:34 +00:00
Remove CFLAGS setting from chill sanity area.
(make-gdb.tar.Z): Fix bug in texinfo.tex "ln" command; also, edit configure.in and Makefile.in correctly: when building FSF GDB, BISON=bison, and don't build texinfo or glob.
This commit is contained in:
parent
ec68a93f89
commit
a50b5d9d6d
25
Makefile.in
25
Makefile.in
@ -53,8 +53,8 @@ AS = as
|
|||||||
AR = ar
|
AR = ar
|
||||||
AR_FLAGS = rc
|
AR_FLAGS = rc
|
||||||
CC = cc
|
CC = cc
|
||||||
$(start-sanitize-chill)
|
|
||||||
CFLAGS = -g
|
CFLAGS = -g
|
||||||
|
$(start-sanitize-chill)
|
||||||
CHILLFLAGS = $(CFLAGS)
|
CHILLFLAGS = $(CFLAGS)
|
||||||
CHILL_LIB = -lchill
|
CHILL_LIB = -lchill
|
||||||
$(end-sanitize-chill)
|
$(end-sanitize-chill)
|
||||||
@ -1483,20 +1483,23 @@ make-gdb.tar.Z: $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS) gdb texinfo/texinfo.tex
|
|||||||
ln proto-toplev/gdb/COPYING proto-toplev/include/COPYING
|
ln proto-toplev/gdb/COPYING proto-toplev/include/COPYING
|
||||||
rm proto-toplev/readline/COPYING
|
rm proto-toplev/readline/COPYING
|
||||||
ln proto-toplev/gdb/COPYING proto-toplev/readline/COPYING
|
ln proto-toplev/gdb/COPYING proto-toplev/readline/COPYING
|
||||||
# Take out texinfo from configurable dirs
|
|
||||||
rm proto-toplev/configure.in
|
|
||||||
sed '/^configdirs=/s/texinfo //' <configure.in >proto-toplev/configure.in
|
|
||||||
# Take out glob from buildable dirs
|
|
||||||
rm proto-toplev/Makefile.in
|
|
||||||
|
|
||||||
sed -e '/^SUBDIRS =/s/glob //' \
|
# Take out texinfo and glob from configurable dirs
|
||||||
-e '/^all\.normal: /s/\all-texinfo //' \
|
rm proto-toplev/configure.in
|
||||||
-e '/^clean: /s/clean-texinfo //' \
|
sed -e '/^host_tools=/s/texinfo //' \
|
||||||
-e '/^install\.all: /s/install-texinfo //' \
|
-e '/^host_libs=/s/glob //' \
|
||||||
|
<configure.in >proto-toplev/configure.in
|
||||||
|
|
||||||
|
# Take out texinfo from a few places; make simple BISON=bison line.
|
||||||
|
rm proto-toplev/Makefile.in
|
||||||
|
sed -e '/^all\.normal: /s/\all-texinfo //' \
|
||||||
|
-e '/^ install-texinfo /d' \
|
||||||
|
-e '\/^BISON =/,\/^$$/c\
|
||||||
|
BISON = bison' \
|
||||||
<Makefile.in >proto-toplev/Makefile.in
|
<Makefile.in >proto-toplev/Makefile.in
|
||||||
|
|
||||||
mkdir proto-toplev/texinfo
|
mkdir proto-toplev/texinfo
|
||||||
ln -s ../../../texinfo/texinfo.tex proto-toplev/texinfo/
|
ln -s ../../texinfo/texinfo.tex proto-toplev/texinfo/
|
||||||
chmod og=u `find proto-toplev -print`
|
chmod og=u `find proto-toplev -print`
|
||||||
(VER=`sed <gdb/Makefile.in -n 's/VERSION = //p'`; \
|
(VER=`sed <gdb/Makefile.in -n 's/VERSION = //p'`; \
|
||||||
echo "==> Making gdb-$$VER.tar.Z"; \
|
echo "==> Making gdb-$$VER.tar.Z"; \
|
||||||
|
Loading…
Reference in New Issue
Block a user