Ticket #5611: hurd-bjam_os.patch
File hurd-bjam_os.patch, 1.1 KB (added by , 11 years ago) |
---|
-
tools/build/v2/engine/src/jam.h
Description: bjam: define the right OS variable on Hurd Author: Pino Toscano <toscano.pino@tiscali.it>
a b 391 391 #define OSMINOR "OS=KFREEBSD" 392 392 #define OS_KFREEBSD 393 393 #endif 394 #ifdef __GNU__ 395 #define OSMINOR "OS=HURD" 396 #define OS_HURD 397 #endif 394 398 #ifndef OSMINOR 395 399 #define OSMINOR "OS=UNKNOWN" 396 400 #endif -
tools/build/v2/test/BoostBuild.py
a b 240 240 jam_build_dir = "bin.freebsd" 241 241 elif os.uname()[0] == "OSF1": 242 242 jam_build_dir = "bin.osf" 243 elif os.uname()[0] == "GNU": 244 cpu = os.uname()[4] 245 if re.match("i.86.*", cpu): 246 jam_build_dir = "bin.hurdx86"; 247 else: 248 jam_build_dir = "bin.hurd" + os.uname()[4] 243 249 else: 244 250 raise "Don't know directory where Jam is built for this system: " + os.name + "/" + os.uname()[0] 245 251 else: