Usermode - Adding hacky pthreads support
[tpg/acess2.git] / Externals / cross-compiler / patches / gcc / gcc / config.gcc.patch
index 8f65ac6..9c7087a 100644 (file)
@@ -1,14 +1,16 @@
 --- gcc/config.gcc
 +++ gcc/config.gcc
-@@ -519,3 +519,10 @@
+@@ -519,3 +519,12 @@
  # Common parts for widely ported systems.
  case ${target} in
 +*-*-acess2*)
++  extra_options="${extra_options} acess2.opt"
 +  extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o crtendT.o"
 +  gas=yes
 +  gnu_ld=yes
 +  default_use_cxa_atexit=yes
 +  use_gcc_stdint=provide
++  thread_file=posix
 +  ;;
  *-*-darwin*)
 

UCC git Repository :: git.ucc.asn.au