summaryrefslogtreecommitdiff
path: root/libc/option-groups.mak
diff options
context:
space:
mode:
authorjimb <jimb@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2007-04-12 01:30:57 +0000
committerjimb <jimb@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2007-04-12 01:30:57 +0000
commit6080b20706f76eac98b9bde1669481ec22da2196 (patch)
tree2491e3990dae82c0fb2506f18bae8f487e8faefc /libc/option-groups.mak
parentd95b027c933b1c5dac5f92cf8f5397f7486dd0ac (diff)
downloadeglibc2-6080b20706f76eac98b9bde1669481ec22da2196.tar.gz
* option-groups.mak: Use '../' if $(..) is unset.
git-svn-id: svn://svn.eglibc.org/trunk@1952 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/option-groups.mak')
-rw-r--r--libc/option-groups.mak3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/option-groups.mak b/libc/option-groups.mak
index 54176bd4d..7866e3321 100644
--- a/libc/option-groups.mak
+++ b/libc/option-groups.mak
@@ -8,7 +8,8 @@
option_group_config_file ?= $(objdir)/option-groups.config
# Read the default settings for all options.
-include $(..)option-groups.defaults
+# We're included before ../Rules, so we can't assume $(..) is set.
+include $(firstword $(..) ../)option-groups.defaults
# Read the developer's option group selections, overriding the
# defaults from option-groups.defaults.