mirror of
				https://github.com/eledio-devices/thirdparty-littlefs.git
				synced 2025-10-31 08:42:40 +01:00 
			
		
		
		
	Moved -Werror flag to CI only
The most useful part of -Werror is preventing code from being merged that has warnings. However it is annoying for users who may have different compilers with different warnings. Limiting -Werror to CI only covers the main concern about warnings without limiting users.
This commit is contained in:
		| @@ -33,8 +33,7 @@ def generate(test): | ||||
|         pass | ||||
|  | ||||
| def compile(): | ||||
|     os.environ['CFLAGS'] = os.environ.get('CFLAGS', '') + ' -Werror' | ||||
|     subprocess.check_call(['make', '--no-print-directory', '-s'], env=os.environ) | ||||
|     subprocess.check_call(['make', '--no-print-directory', '-s']) | ||||
|  | ||||
| def execute(): | ||||
|     subprocess.check_call(["./lfs"]) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user