Fix path in intel compiler wrapper
This commit is contained in:
		
							parent
							
								
									af9cd726f2
								
							
						
					
					
						commit
						b7c931a88e
					
				| @ -62,8 +62,10 @@ let | |||||||
|           echo "-isystem $dir" >> $out/nix-support/libcxx-cxxflags |           echo "-isystem $dir" >> $out/nix-support/libcxx-cxxflags | ||||||
|         done |         done | ||||||
| 
 | 
 | ||||||
|         # Need the gcc in the path |         # FIXME: We should find a better way to modify the PATH instead of using | ||||||
|         echo 'export "PATH=${gcc}/bin:$PATH"' >> $out/nix-support/cc-wrapper-hook |         # this ugly hack. See https://jungle.bsc.es/git/rarias/bscpkgs/issues/9 | ||||||
|  |         echo 'path_backup="${gcc.cc}/bin:$path_backup"' >> $out/nix-support/cc-wrapper-hook | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
|         # Disable hardening by default |         # Disable hardening by default | ||||||
|         echo "" > $out/nix-support/add-hardening.sh |         echo "" > $out/nix-support/add-hardening.sh | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user