[Nasm-bugs] [Bug 3392831] Build failure when building in subdirectory

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Sun Feb 19 03:11:49 PST 2023


https://bugzilla.nasm.us/show_bug.cgi?id=3392831

--- Comment #3 from ehaouas at noos.fr ---
to build "manually" we have to copy "warnings.c" file : "cp
../nasm-2.16.01/asm/warnings.c ../build-NASM/asm/warnings.c".

See https://review.coreboot.org/c/coreboot/+/73116

"build_NASM() {
        CC="$(hostcc host)" CXX="$(hostcxx host)" CFLAGS="$HOSTCFLAGS" \
        ../${NASM_DIR}/configure \
                --prefix="$TARGETDIR" || touch .failed
        # shellcheck disable=SC2086
        cp ../nasm-2.16.01/asm/warnings.c ../build-NASM/asm/warnings.c
        $MAKE $JOBS || touch .failed
        $MAKE install DESTDIR=$DESTDIR || touch .failed
        normalize_dirs
}"

Thank you.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


More information about the Nasm-bugs mailing list