You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2014/09/24 17:16:32 UTC

[Bug 57014] New: Incorrect test for CC_FOR_BUILD prevents build (on FreeBSD at least)

https://issues.apache.org/bugzilla/show_bug.cgi?id=57014

            Bug ID: 57014
           Summary: Incorrect test for CC_FOR_BUILD prevents build (on
                    FreeBSD at least)
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Build
          Assignee: bugs@httpd.apache.org
          Reporter: ben@links.org

server/Makefile (after buildconf/configure) contains this:

.ifdef CC_FOR_BUILD
gen_test_char: gen_test_char.c
    $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -DCROSS_COMPILE -o $@ $<
.else
gen_test_char_OBJECTS = gen_test_char.lo
gen_test_char: $(gen_test_char_OBJECTS)
    $(LINK) $(EXTRA_LDFLAGS) $(gen_test_char_OBJECTS) $(EXTRA_LIBS)
.endif

However, CC_FOR_BUILD appears to be defined (to "") even if not
cross-compiling, resulting in a build failure.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 57014] Incorrect test for CC_FOR_BUILD prevents build (on FreeBSD at least)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57014

Ben Laurie <be...@links.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ben@links.org

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org