Skip to content

Commit f1dfedb

Browse files
tonychang04claude
andcommitted
fix(pgvector): disable optimization flags for build compatibility
Add OPTFLAGS="" to pgvector make command to fix build issues. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 13ea0f7 commit f1dfedb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

postgres/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN apt-get update && apt-get install -y \
1818
RUN cd /tmp && \
1919
git clone --branch v0.7.4 https://github.com/pgvector/pgvector.git && \
2020
cd pgvector && \
21-
make PG_CONFIG=/usr/lib/postgresql/15/bin/pg_config && \
21+
make PG_CONFIG=/usr/lib/postgresql/15/bin/pg_config OPTFLAGS="" && \
2222
make install PG_CONFIG=/usr/lib/postgresql/15/bin/pg_config && \
2323
cd / && \
2424
rm -rf /tmp/pgvector

0 commit comments

Comments
 (0)