Skip to content

Instantly share code, notes, and snippets.

@ryanwi
Created July 30, 2021 00:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanwi/b26ba64366528b9899d50cf5e3a1209b to your computer and use it in GitHub Desktop.
Save ryanwi/b26ba64366528b9899d50cf5e3a1209b to your computer and use it in GitHub Desktop.
# error with sassc
make "DESTDIR="
compiling ./libsass/src/units.cpp
clang: error: the clang compiler does not support '-march=native'
make: *** [units.o] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/user/.gem/ruby/2.6.3/gems/sassc-2.2.1 for inspection.
Results logged to /Users/user/.gem/ruby/2.6.3/extensions/-darwin-20/2.6.0-static/sassc-2.2.1/gem_make.out
An error occurred while installing sassc (2.2.1), and Bundler cannot continue.
Make sure that `gem install sassc -v '2.2.1' --source 'https://rubygems.org/'` succeeds before bundling.
# fix
gem install sassc --version=2.2.1 -- --disable-march-tune-native
# source
https://github.com/sass/sassc-ruby/issues/150
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment