This contains some minor fixes for DragonFly's master branch. The patch diffs are less due to freebsd unwind support backport to 5 branch.
24 lines
770 B
Text
24 lines
770 B
Text
--- libstdc++-v3/config/os/bsd/dragonfly/os_defines.h.orig
|
|
+++ libstdc++-v3/config/os/bsd/dragonfly/os_defines.h
|
|
@@ -29,4 +29,9 @@
|
|
// System-specific #define, typedefs, corrections, etc, go here. This
|
|
// file will come before all others.
|
|
|
|
+#define _GLIBCXX_USE_C99_CHECK 1
|
|
+#define _GLIBCXX_USE_C99_DYNAMIC (!(__ISO_C_VISIBLE >= 1999))
|
|
+#define _GLIBCXX_USE_C99_LONG_LONG_CHECK 1
|
|
+#define _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC (_GLIBCXX_USE_C99_DYNAMIC || !defined __LONG_LONG_SUPPORTED)
|
|
+
|
|
#endif
|
|
--- libstdc++-v3/configure.host.orig
|
|
+++ libstdc++-v3/configure.host
|
|
@@ -270,6 +270,9 @@
|
|
dragonfly*)
|
|
os_include_dir="os/bsd/dragonfly"
|
|
;;
|
|
+ linux-androideabi)
|
|
+ os_include_dir="os/bionic"
|
|
+ ;;
|
|
freebsd*)
|
|
os_include_dir="os/bsd/freebsd"
|
|
;;
|