-
Notifications
You must be signed in to change notification settings - Fork 198
Delete broken checks for GCC version that break -fstack-protector-strong #478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -108,12 +108,7 @@ Crypto_Library_Name := sgx_tcrypto | |
| Enclave_Cpp_Files := Enclave/Enclave.cpp | ||
| Enclave_Include_Paths := -I$(SGX_SDK)/include -I$(SGX_SDK)/include/tlibc -I$(SGX_SDK)/include/libcxx | ||
|
|
||
| CC_BELOW_4_9 := $(shell expr "`$(CC) -dumpversion`" \< "4.9") | ||
| ifeq ($(CC_BELOW_4_9), 1) | ||
| Enclave_C_Flags := $(SGX_COMMON_CFLAGS) -nostdinc -fvisibility=hidden -fpie -ffunction-sections -fdata-sections -fstack-protector | ||
| else | ||
| Enclave_C_Flags := $(SGX_COMMON_CFLAGS) -nostdinc -fvisibility=hidden -fpie -ffunction-sections -fdata-sections -fstack-protector-strong | ||
| endif | ||
| Enclave_C_Flags := $(SGX_COMMON_CFLAGS) -nostdinc -fvisibility=hidden -fpie -ffunction-sections -fdata-sections | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hi @berrange! Just noticed, unfortunately post merging, that here we miss the I think we can fix it internally and push in the next release cycle as this is not critical here in the samples.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Opps, sorry about that mess up. |
||
| Enclave_C_Flags += $(Enclave_Include_Paths) | ||
| Enclave_Cpp_Flags := $(Enclave_C_Flags) -std=c++11 -nostdinc++ | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.