[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-readline] [PATCH] [readline] Fix !djgpp x djgpp canadian builds
From: |
Eli Zaretskii |
Subject: |
Re: [Bug-readline] [PATCH] [readline] Fix !djgpp x djgpp canadian builds. |
Date: |
Wed, 22 May 2013 05:47:01 +0300 |
> From: Pedro Alves <address@hidden>
> Cc: address@hidden
> Date: Tue, 21 May 2013 21:28:59 +0100
>
> While trying to build a --host=i586-pc-msdosdjgpp gdb on GNU/Linux
> (Fedora 17), I stumbled on a build error in readline:
>
> config.status: executing default commands
> make: *** No rule to make target `/config.h', needed by `readline.o'. Stop.
>
> Turns out BUILD_DIR was ending up empty in the Makefile:
>
> ...
> BUILD_DIR =
> ...
> readline.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h
> ...
>
> The issue is that configure is deciding whether to run pwd.exe or pwd
> based on $host_os (msdosdjgpp), while it should be checking $build_os
> instead (linux-gnu).
Looks good, thanks. I guess this is a remnant from old days, when
host and build were something else.