mirror of
https://review.haiku-os.org/buildtools
synced 2026-02-05 00:13:15 +01:00
Compare commits
3 Commits
btrev29068
...
btrev29075
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
71707d824a | ||
|
|
87cbf3a69a | ||
|
|
36de11649f |
@@ -3265,7 +3265,7 @@ genprogmd = attr attrtab automata codes conditions config constants emit \
|
||||
$(genprogmd:%=build/gen%$(build_exeext)): $(BUILD_RTL) $(BUILD_ERRORS)
|
||||
|
||||
# These programs need libs over and above what they get from the above list.
|
||||
build/genautomata$(build_exeext) : BUILD_LIBS += -lm
|
||||
build/genautomata$(build_exeext) : BUILD_LIBS += @math_library@
|
||||
|
||||
# These programs are not linked with the MD reader.
|
||||
build/gengenrtl$(build_exeext) : $(BUILD_ERRORS)
|
||||
|
||||
10
gcc/gcc/configure
vendored
10
gcc/gcc/configure
vendored
@@ -9064,6 +9064,15 @@ esac
|
||||
# --------
|
||||
|
||||
|
||||
# Configure -lm usage for host tools that need it
|
||||
math_library="-lm"
|
||||
case $host in
|
||||
*-*-haiku*)
|
||||
# no separate math library needed
|
||||
math_library=
|
||||
;;
|
||||
esac
|
||||
|
||||
# These libraries may be used by collect2.
|
||||
# We may need a special search path to get them linked.
|
||||
echo "$as_me:$LINENO: checking for collect2 libraries" >&5
|
||||
@@ -24035,6 +24044,7 @@ s,@LIBOBJS@,$LIBOBJS,;t t
|
||||
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
|
||||
/@language_hooks@/r $language_hooks
|
||||
s,@language_hooks@,,;t t
|
||||
s,@math_library@,$math_library,;t t
|
||||
CEOF
|
||||
|
||||
_ACEOF
|
||||
|
||||
@@ -945,6 +945,15 @@ AC_C_BIGENDIAN
|
||||
# --------
|
||||
|
||||
|
||||
# Configure -lm usage for host tools that need it
|
||||
math_library="-lm"
|
||||
case $host in
|
||||
*-*-haiku*)
|
||||
# no separate math library needed
|
||||
math_library=
|
||||
;;
|
||||
esac
|
||||
|
||||
# These libraries may be used by collect2.
|
||||
# We may need a special search path to get them linked.
|
||||
AC_CACHE_CHECK(for collect2 libraries, gcc_cv_collect2_libs,
|
||||
|
||||
@@ -33,7 +33,7 @@ mpfr_TEXINFOS = fdl.texi
|
||||
MAKEINFOFLAGS = --enable-encoding
|
||||
|
||||
get_patches.c: PATCHES get_patches.sh
|
||||
./get_patches.sh > $@ || rm -f $@
|
||||
$(srcdir)/get_patches.sh > $@ || rm -f $@
|
||||
|
||||
# Do not add get_patches.c to CLEANFILES so that this file doesn't
|
||||
# need to be (re)built as long as no patches are applied. Anyway the
|
||||
|
||||
@@ -1666,7 +1666,7 @@ uninstall-info: uninstall-info-recursive
|
||||
|
||||
|
||||
get_patches.c: PATCHES get_patches.sh
|
||||
./get_patches.sh > $@ || rm -f $@
|
||||
$(srcdir)/get_patches.sh > $@ || rm -f $@
|
||||
|
||||
tune:
|
||||
$(MAKE) $(AM_MAKEFLAGS) tuneup$(EXEEXT)
|
||||
|
||||
Reference in New Issue
Block a user