summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2017-04-02 02:08:04 (GMT)
committerTony Theodore <tonyt@logyst.com>2017-04-02 02:08:04 (GMT)
commitd0aa402fe63865615b280110d2d889f5cee9b54b (patch)
tree866327d69ebf405784b70b516d121b06b354ef12 /docs
parentf07c3f01225531b351b8f79fafb175f94965c027 (diff)
downloadmxe-d0aa402fe63865615b280110d2d889f5cee9b54b.zip
mxe-d0aa402fe63865615b280110d2d889f5cee9b54b.tar.gz
mxe-d0aa402fe63865615b280110d2d889f5cee9b54b.tar.bz2
Makefile: explicitly set .DEFAULT_GOAL for LOCAL_PKG_LIST
Use `.DEFAULT_GOAL` [special variable] instead of `.DEFAULT` [built-in target] as the latter depends on include order and can cause confusing behaviour. `LOCAL_PKG_LIST` was [broken] in #1729 and this allows for any current `settings.mk` to work correctly. Should also fix #1264 and #1267 since MXE isn't going to include any other files that set this variable in a surprising way. [special variable]:https://www.gnu.org/software/make/manual/make.html#Special-Variables [built-in target]:https://www.gnu.org/software/make/manual/make.html#Special-Targets [broken]:https://github.com/mxe/mxe/commit/1cf2afb5d3afb1dda0d7a5322be758ec2befd2a1
Diffstat (limited to 'docs')
-rw-r--r--docs/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/index.html b/docs/index.html
index 23e8800..3d48bac 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -934,7 +934,7 @@ USE_OSGPLUGIN(&lt;plugin2&gt;)
the package list can also be set in
<code>settings.mk</code>
<pre>LOCAL_PKG_LIST := foo bar
-.DEFAULT local-pkg-list:
+.DEFAULT_GOAL := local-pkg-list
local-pkg-list: $(LOCAL_PKG_LIST)</pre>
</dd>
<dd>