diff options
Diffstat (limited to 'meta-openstack/recipes-extended/gptfdsik/files/fix-host-contamination.patch')
| -rw-r--r-- | meta-openstack/recipes-extended/gptfdsik/files/fix-host-contamination.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-openstack/recipes-extended/gptfdsik/files/fix-host-contamination.patch b/meta-openstack/recipes-extended/gptfdsik/files/fix-host-contamination.patch new file mode 100644 index 0000000..8939cc1 --- /dev/null +++ b/meta-openstack/recipes-extended/gptfdsik/files/fix-host-contamination.patch | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | fix host contamination | ||
| 2 | |||
| 3 | Make sure that the Makefile uses gcc cross | ||
| 4 | compiler from build system, but not use | ||
| 5 | the host gcc | ||
| 6 | |||
| 7 | Signed-off-by: Vu Tran <vu.tran@windriver.com> | ||
| 8 | |||
| 9 | diff --git a/Makefile b/Makefile | ||
| 10 | index 1ae018e..4c23b45 100644 | ||
| 11 | --- a/Makefile | ||
| 12 | +++ b/Makefile | ||
| 13 | @@ -1,5 +1,3 @@ | ||
| 14 | -CC=gcc | ||
| 15 | -CXX=g++ | ||
| 16 | CFLAGS+=-D_FILE_OFFSET_BITS=64 | ||
| 17 | #CXXFLAGS+=-Wall -D_FILE_OFFSET_BITS=64 -D USE_UTF16 | ||
| 18 | CXXFLAGS+=-Wall -D_FILE_OFFSET_BITS=64 | ||
