-- would not find its headers.
commonLinkFlags arch =
- [ Str "-nostdlib", NStr "-L", makeAbs $ NoDep BuildTree arch "/lib/" ]
- ++ [ Str "-Wl,--start-group" ]
- ++ (map makeAbs (optLibs (options arch)))
- ++ (map makeAbs (extraLink arch))
- ++ [
+ [ Str "-nostdlib", NStr "-L", makeAbs $ NoDep BuildTree arch "/lib/" ] ++
+ [ Str "-Wl,--start-group" ]
+-- The following line seems to add libbarrelfish as an dependency which
+--
+-- ++ (map makeAbs (optLibs (options arch)))
+-- ++ (map makeAbs (extraLink arch))
+ ++
+ [
Str "-Wl,--end-group",
-- Enable the following flags for ld debugging
-- Str "-Wl,-verbose=2",
Target arch "configure"
]
),
+
-- run configure
Rule ( [
-- this is tricky as configure produces Makefile in .
Str "sed -i.orig s/HAVE_OBSTACK_VPRINTF/HAVE_OBSTACK_VPRINTF_nope/g",
Out arch "config.h"
]
- ++
- (map toDep (optLibs (options arch)))
- ++
- (map toDep (extraLink arch))
+-- ++
+-- (map toDep (optLibs (options arch)))
+-- ++
+-- (map toDep (extraLink arch))
),
-- run make
Rule ( [