Skip to content

Instantly share code, notes, and snippets.

@k-takata
Created October 14, 2012 02:24
Show Gist options
  • Save k-takata/3887035 to your computer and use it in GitHub Desktop.
Save k-takata/3887035 to your computer and use it in GitHub Desktop.
make fails when auto/config.* are not up to date
$ make
GUI_INC_LOC="" GUI_LIB_LOC="" \
CC="gcc" CPPFLAGS="" CFLAGS="-g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" \
LDFLAGS="-L. -L/usr/local/lib -Wl,--as-needed" srcdir="." \
./configure \
\
\
\
\
\
\
\
\
\
configure: loading cache auto/config.cache
configure: error: `CC' was not set in the previous run
configure: error: `CFLAGS' was not set in the previous run
configure: error: `LDFLAGS' was not set in the previous run
configure: error: `CPPFLAGS' was not set in the previous run
configure: error: in `/cygdrive/c/WORK/vim/src':
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm auto/config.cache' and start over
Makefile:1656: recipe for target `auto/config.mk' failed
make: *** [auto/config.mk] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment