diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2017-07-12 12:58:20 -0400 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2017-07-13 12:49:05 -0400 |
commit | d34d77a51b846a2459e4447762edcb2b66c95550 (patch) | |
tree | 9bd474ca5e6394be1d86703196b53ad497f779dd /src/Makefile.leveldb.include | |
parent | e8b95239eeb052b122786d9cca6bc58106837599 (diff) |
build: verify that the assembler can handle crc32 functions
Also, enable crc32 even if -msse4.2 wasn't added by us, as long as it works.
This allows custom flags (such as -march=native) to work as expected.
Diffstat (limited to 'src/Makefile.leveldb.include')
-rw-r--r-- | src/Makefile.leveldb.include | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.leveldb.include b/src/Makefile.leveldb.include index ac38141f43..833f3d2a10 100644 --- a/src/Makefile.leveldb.include +++ b/src/Makefile.leveldb.include @@ -142,7 +142,7 @@ leveldb_libmemenv_a_SOURCES += leveldb/helpers/memenv/memenv.h leveldb_libleveldb_sse42_a_CPPFLAGS = $(leveldb_libleveldb_a_CPPFLAGS) leveldb_libleveldb_sse42_a_CXXFLAGS = $(leveldb_libleveldb_a_CXXFLAGS) -if ENABLE_SSE42 +if ENABLE_HWCRC32 leveldb_libleveldb_sse42_a_CPPFLAGS += -DLEVELDB_PLATFORM_POSIX_SSE leveldb_libleveldb_sse42_a_CXXFLAGS += $(SSE42_CXXFLAGS) endif |