SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
devel/libfirm/patches/patch-ir_be_platform_c
Normal file
14
devel/libfirm/patches/patch-ir_be_platform_c
Normal file
|
@ -0,0 +1,14 @@
|
|||
cparser/libFirm doesn't understand __only_inline.
|
||||
This lets us work around it.
|
||||
|
||||
Index: ir/be/platform.c
|
||||
--- ir/be/platform.c.orig
|
||||
+++ ir/be/platform.c
|
||||
@@ -179,6 +179,7 @@ void ir_platform_set(ir_machine_triple_t const *machin
|
||||
goto BSD;
|
||||
} else if (strstart(os, "openbsd")) {
|
||||
ppdef1("__OpenBSD__");
|
||||
+ ppdef("_ANSI_LIBRARY", ""); /* avoid __only_inline */
|
||||
goto BSD;
|
||||
} else if (strstr(os, "bsd") != NULL) {
|
||||
BSD:
|
Loading…
Add table
Add a link
Reference in a new issue