On Tue, Sep 8, 2015 at 9:03 AM, Stefan Peter <st3fanp3...@gmail.com> wrote: > Hi > Am 07.09.2015 um 17:32 schrieb Helmut Schaa: >> Fix the following configure error with c-ares by using CPPFLAGS for >> -D_FORTIFY_SOURCE. >> Not sure if any other packages suffer from the same issue. >> >> configure: using CFLAGS: -Os -pipe -march=74kc -fno-caller-saves >> -mno-branch-likely -g3 -fno-caller-saves -fhonour-copts >> -Wno-error=unused-but-set-variable -msoft-float -D_FORTIFY_SOURCE=1 >> -Wl,-z,now -Wl,-z,relro >> configure: CFLAGS error: CFLAGS may only be used to specify C compiler >> flags, not macro definitions. Use CPPFLAGS for: -D_FORTIFY_SOURCE=1 >> configure: error: Can not continue. Fix errors mentioned immediately above >> this line. > > Did you get this in the CC branch? > > According to > https://github.com/openwrt/packages/pull/1464 > this should be fixed in master and applying this patch on top of the CC > branch worked for me.
I came up with a similar patch now :) but good to know it's fixed in master already. Helmut _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel