Skip to content

Commit

Permalink
[configure] Improve auto::libffi probe
Browse files Browse the repository at this point in the history
Apply patch by pstumpf [GH #1030] to fix a failing probe
with -fstack-protector-all or -fstack-protector-strong with
recent GCC and OpenBSD’s toolchain.
Analysed by Martynas Venckus.
  • Loading branch information
Pascal Stumpf authored and Reini Urban committed Jan 27, 2014
1 parent 1163985 commit 50dcc67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/auto/libffi/test_c.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2008-2010, Parrot Foundation.
Copyright (C) 2008-2014, Parrot Foundation.


seeing if libffi is installed
Expand All @@ -13,7 +13,7 @@ int main() {
ffi_type *args[1];
void *values[1];
char *s;
int rc;
ffi_arg rc;

/* Initialize the argument info vectors */
args[0] = &ffi_type_pointer;
Expand Down

0 comments on commit 50dcc67

Please sign in to comment.