]> git.tdb.fi Git - builder.git/commitdiff
Add an alias for x86_64
authorMikko Rasa <tdb@tdb.fi>
Sat, 7 Aug 2010 00:31:08 +0000 (00:31 +0000)
committerMikko Rasa <tdb@tdb.fi>
Sat, 7 Aug 2010 00:31:08 +0000 (00:31 +0000)
Make symlinks depend on the link target

source/architecture.cpp
source/symlink.cpp

index cf888f00e24ede0d80ee16952fb5c63724c53738..9c96e8a512bdee0ad144c230a4f14ef907e12161 100644 (file)
@@ -56,6 +56,7 @@ const char *aliases[] =
 {
        "i586",  "pentium",
        "i686",  "pentiumpro",
+       "x86_64", "athlon64",
        "win32", "windows",
        0
 };
index f962b250c1c9c808735815bee1ade7fe4e9c56b8..d99f6dabf99d991e9828ad9772f6d945965cad2a 100644 (file)
@@ -17,6 +17,7 @@ Symlink::Symlink(Builder &b, const Package &p, FileTarget &t, const string &n):
        target(t)
 {
        buildable = true;
+       add_depend(&target);
 }
 
 Target *Symlink::get_real_target()