Fix BLD_ARCH conditional
The format of the `findstring` function is `$(findstring find,in)` where it searches `in` for occurences of `find`. The value of BLD_ARCH for RHEL7 is rhel7_x86_64 and will never be found in `rhel6 rhel7`. This commit changes the conditional to search for `rhel` in the value of `BLD_ARCH` and if it is found, set the custom LDFLAGS. [#171588911] Co-authored-by: NBradford D. Boyle <bboyle@pivotal.io> Co-authored-by: NXin Zhang <xzhang@pivotal.io>
Showing
想要评论请 注册 或 登录