Skip to content

Instantly share code, notes, and snippets.

@pebble8888
Created April 26, 2020 12:01
Show Gist options
  • Save pebble8888/18b3cb31f16237448c08ea84f6cadfc9 to your computer and use it in GitHub Desktop.
Save pebble8888/18b3cb31f16237448c08ea84f6cadfc9 to your computer and use it in GitHub Desktop.

Revisions

  1. pebble8888 created this gist Apr 26, 2020.
    4 changes: 4 additions & 0 deletions macOSPIC
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    You must use special flags with cc when compiling a shared ilbrary or a bundle on Darwin.
    One difference between Darwin and
    many other Unix systems is that no position-independent code (PIC) flag is needed,
    since it is the default for Darwin.