logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

0008-Only-use-symbol-versioning-on-GNU-compatible-compile.patch (740B)


  1. From f738d8ef399b4eda78a521ced66b626cc7a3a02b Mon Sep 17 00:00:00 2001
  2. From: Michael Forney <mforney@mforney.org>
  3. Date: Mon, 6 Sep 2021 23:36:31 -0700
  4. Subject: [PATCH] Only use symbol versioning on GNU-compatible compilers
  5. ---
  6. lib/fuse_misc.h | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/lib/fuse_misc.h b/lib/fuse_misc.h
  9. index f956ab7..a86717c 100644
  10. --- a/lib/fuse_misc.h
  11. +++ b/lib/fuse_misc.h
  12. @@ -12,7 +12,7 @@
  13. Versioned symbols cannot be used in some cases because it
  14. - not supported on MacOSX (in MachO binary format)
  15. */
  16. -#ifndef __APPLE__
  17. +#if !defined(__APPLE__) && defined(__GNUC__)
  18. # if HAVE_SYMVER_ATTRIBUTE
  19. # define FUSE_SYMVER(sym1, sym2) __attribute__ ((symver (sym2)))
  20. # else
  21. --
  22. 2.32.0