forked from mirrors/gecko-dev
		
	Bug 1601590 - Undef _FORTIFY_SOURCE to fix build with --warnings-on-errors. r=glandium
This is required on some systems such as Fedora to allow building with -O0 together with --warnings-as-errors due to a check in /usr/include/features.h Differential Revision: https://phabricator.services.mozilla.com/D56696 --HG-- extra : moz-landing-system : lando
This commit is contained in:
		
							parent
							
								
									dc8a21948c
								
							
						
					
					
						commit
						97827bec40
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -13,6 +13,11 @@ | ||||||
| // will stop the post-processing (which includes stack fixing) from working
 | // will stop the post-processing (which includes stack fixing) from working
 | ||||||
| // correctly.
 | // correctly.
 | ||||||
| 
 | 
 | ||||||
|  | // This is required on some systems such as Fedora to allow
 | ||||||
|  | // building with -O0 together with --warnings-as-errors due to
 | ||||||
|  | // a check in /usr/include/features.h
 | ||||||
|  | #undef _FORTIFY_SOURCE | ||||||
|  | 
 | ||||||
| #include <errno.h> | #include <errno.h> | ||||||
| #include <stdio.h> | #include <stdio.h> | ||||||
| #include <stdlib.h> | #include <stdlib.h> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Simon Giesecke
						Simon Giesecke