Skip to content

Commit

Permalink
bugfix: do not add dtags arguments on mac os
Browse files Browse the repository at this point in the history
  • Loading branch information
tgamblin committed Oct 23, 2019
1 parent f89a951 commit d00ffee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/spack/spack/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,13 +230,13 @@ def linker_arg(self):

@property
def disable_new_dtags(self):
if platform.platform().lower() == 'macos':
if platform.system() == 'Darwin':
return ''
return '--disable-new-dtags'

@property
def enable_new_dtags(self):
if platform.platform().lower() == 'macos':
if platform.system() == 'Darwin':
return ''
return '--enable-new-dtags'

Expand Down

0 comments on commit d00ffee

Please sign in to comment.