Skip to content

Commit

Permalink
Merge pull request niXman#166 from net147/develop
Browse files Browse the repository at this point in the history
Fix conflict including algorithm before intrin.h
  • Loading branch information
niXman committed Mar 25, 2013
2 parents b03052c + a3d3907 commit 9c9cc73
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions patches/gcc/gcc-4.8-intrin.patch
@@ -0,0 +1,12 @@
--- a/libstdc++-v3/config/cpu/i486/opt/bits/opt_random.h
+++ b/libstdc++-v3/config/cpu/i486/opt/bits/opt_random.h
@@ -30,7 +30,9 @@
#ifndef _BITS_OPT_RANDOM_H
#define _BITS_OPT_RANDOM_H 1

+extern "C" {
#include <x86intrin.h>
+}


#pragma GCC system_header
1 change: 1 addition & 0 deletions scripts/gcc-4_8-branch.sh
Expand Up @@ -46,6 +46,7 @@ PRIORITY=main
PATCHES=(
gcc/gcc-4.7-stdthreads.patch
gcc/gcc-4.8-iconv.patch
gcc/gcc-4.8-intrin.patch
gcc/gcc-4.8-libstdc++export.patch
)

Expand Down
1 change: 1 addition & 0 deletions scripts/gcc-trunk.sh
Expand Up @@ -46,6 +46,7 @@ PRIORITY=main
PATCHES=(
gcc/gcc-4.7-stdthreads.patch
gcc/gcc-4.8-iconv.patch
gcc/gcc-4.8-intrin.patch
gcc/gcc-4.8-libstdc++export.patch
)

Expand Down

0 comments on commit 9c9cc73

Please sign in to comment.