Description: fix CC passing in Makefile.am Author: Xiangyan Sun Origin: upstream, https://github.com/opencog/link-grammar/commit/b296c8f Last-Update: 2026-08-14 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/link-grammar/Makefile.am +++ b/link-grammar/Makefile.am @@ -30,7 +30,7 @@ pkgdatadir_realpath := $(pkgdatadir) endif -DEFS = @DEFS@ -DVERSION=\"@VERSION@\" -DDICTIONARY_DIR=\"$(pkgdatadir_realpath)\" -DCC=\"$(CC)\" +DEFS = @DEFS@ -DVERSION=\"@VERSION@\" -DDICTIONARY_DIR=\"$(pkgdatadir_realpath)\" -DCC=\"$(firstword $(CC))\" # $(top_builddir) to pick up autogened link-grammar/link-features.h AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir)