summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-10-01 20:54:18 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-10-01 20:54:18 +0200
commitcf649082c7d4723c4aedcc59e188c740642db2e3 (patch)
treee5d03026a1c13029cab1615125ce506495fb3a90 /libc
parent9fc117ac5afd9c3c9e63947fb8f509964adc342c (diff)
remove forced gcc optimization
It was added in 6d6bd8ba78434ecb09395582b5f3e41febd4d4ee, but it is unclear for me, why this is needed or if it is required. I don't think we should depend on some gcc optimization, which might change in the future. Anyway, this breaks c6x toolchain building (ICE), so I remove it. Testsuite run for supported architectures didn't add any new errors.
Diffstat (limited to 'libc')
-rw-r--r--libc/unistd/daemon.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libc/unistd/daemon.c b/libc/unistd/daemon.c
index 435d4f1ff..8fa292850 100644
--- a/libc/unistd/daemon.c
+++ b/libc/unistd/daemon.c
@@ -69,7 +69,6 @@
/* use clone() to get fork() like behavior here -- we just want to disassociate
* from the controlling terminal
*/
-static inline attribute_optimize("O3")
pid_t _fork_parent(void)
{
INTERNAL_SYSCALL_DECL(err);