Lines 1047-1053
Link Here
|
1047 |
if (fp == NULL) |
1047 |
if (fp == NULL) |
1048 |
abort(); |
1048 |
abort(); |
1049 |
while (fgets(buf, sizeof(buf), fp)) { |
1049 |
while (fgets(buf, sizeof(buf), fp)) { |
1050 |
if (strstr(buf, "propolice") != NULL) { |
1050 |
/* Modified to pick up Gentoo hardened gcc. Not sure exactly |
|
|
1051 |
what "propolice" is looking for, whether it's a configure option |
1052 |
or the identification. If the latter, the equivalent string |
1053 |
for gentoo may be "ssp" rather than "Hardened". */ |
1054 |
if ((strstr(buf, "propolice") != NULL) || |
1055 |
(strstr(buf, "Hardened") != NULL)) { |
1051 |
fprintf(inFile, "#define HasGccStackProtector YES\n"); |
1056 |
fprintf(inFile, "#define HasGccStackProtector YES\n"); |
1052 |
break; |
1057 |
break; |
1053 |
} |
1058 |
} |